Uses of Interface
com.gentics.api.lib.expressionparser.filtergenerator.FilterPart

Packages that use FilterPart
com.gentics.api.lib.expressionparser Package for classes and interfaces related to parsing and evaluating of expressions. 
com.gentics.api.lib.expressionparser.filtergenerator   
com.gentics.api.lib.expressionparser.functions   
 

Uses of FilterPart in com.gentics.api.lib.expressionparser
 

Methods in com.gentics.api.lib.expressionparser with parameters of type FilterPart
 void EvaluableExpression.generateFilterPart(ExpressionQueryRequest request, FilterPart filterPart, int expectedValueType)
          Generate the filter part for the evaluable expression.
 

Uses of FilterPart in com.gentics.api.lib.expressionparser.filtergenerator
 

Methods in com.gentics.api.lib.expressionparser.filtergenerator that return FilterPart
 FilterPart DatasourceFilter.generateConstantFilterPart(java.lang.String constantString, java.lang.Object[] params)
          Generate a filterpart for a constant string with optional parameters
 FilterPart DatasourceFilter.generateLiteralFilterPart(java.lang.Object literal, int expectedValueType)
          Generate a filterpart for a literal.
 FilterPart DatasourceFilter.generateVariableFilterPart(java.lang.String expressionName, int expectedValueType)
          Generate a filterpart for a variable.
 FilterPart FilterPartGenerator.getFilterPart(ExpressionQueryRequest request)
          Method that is called by the filter when it finally merges all filter parts to use the filter.
 FilterPart DatasourceFilter.getMainFilterPart()
          Get the main filterpart of this filter.
 

Uses of FilterPart in com.gentics.api.lib.expressionparser.functions
 

Methods in com.gentics.api.lib.expressionparser.functions with parameters of type FilterPart
 void Function.generateFilterPart(int functionType, ExpressionQueryRequest request, FilterPart filterPart, EvaluableExpression[] operand, int expectedValueType)
          Generate the filter part for the function.
The functionType is one of (Function.TYPE_ADD, Function.TYPE_AND, Function.TYPE_CONTAINSNONE, Function.TYPE_CONTAINSNONE, Function.TYPE_DIV, Function.TYPE_EQUAL, Function.TYPE_GREATER, Function.TYPE_GREATEROREQUAL, Function.TYPE_LIKE, Function.TYPE_MINUS, Function.TYPE_MOD, Function.TYPE_MULT, Function.TYPE_NAMEDFUNCTION, Function.TYPE_NOT, Function.TYPE_OR, Function.TYPE_PLUS, Function.TYPE_SMALLER, Function.TYPE_SMALLEROREQUAL, Function.TYPE_SUB, Function.TYPE_UNEQUAL) and will always be one of the types returned by Function.getTypes().
The expectedValueType is one of (ExpressionEvaluator.OBJECTTYPE_ANY, ExpressionEvaluator.OBJECTTYPE_BOOLEAN, ExpressionEvaluator.OBJECTTYPE_COLLECTION, ExpressionEvaluator.OBJECTTYPE_DATE, ExpressionEvaluator.OBJECTTYPE_NULL, ExpressionEvaluator.OBJECTTYPE_NUMBER, ExpressionEvaluator.OBJECTTYPE_STRING), where ExpressionEvaluator.OBJECTTYPE_ANY shall be used when any value type is acceptable.
Implementations must respect the expected value type and must throw a FilterGeneratorException when it cannot generate a value of this type.
 



Copyright © 2013 Gentics Software GmbH. All Rights Reserved.