Package org.structr.core.converter

Examples of org.structr.core.converter.PropertyConverter


    try {

      if (searchValues != null && !searchValues.isEmpty()) {

        final PropertyKey key                  = notion.getPrimaryPropertyKey();
        final PropertyConverter inputConverter = key.inputConverter(securityContext);
        final List<Object> transformedValues   = new LinkedList<>();
        boolean allBlank                       = true;

        // transform search values using input convert of notion property
        for (T searchValue : searchValues) {

          if (inputConverter != null) {

            transformedValues.add(inputConverter.convert(searchValue));
          } else {

            transformedValues.add(searchValue);
          }
        }
View Full Code Here

TOP

Related Classes of org.structr.core.converter.PropertyConverter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.