Uses of Class
com.gentics.api.lib.expressionparser.ExpressionQueryRequest

Packages that use ExpressionQueryRequest
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 ExpressionQueryRequest in com.gentics.api.lib.expressionparser
 

Methods in com.gentics.api.lib.expressionparser with parameters of type ExpressionQueryRequest
 java.lang.Object EvaluableExpression.evaluate(ExpressionQueryRequest request, int expectedValueType)
          Evaluate the expression and return the value.
 void EvaluableExpression.generateFilterPart(ExpressionQueryRequest request, FilterPart filterPart, int expectedValueType)
          Generate the filter part for the evaluable expression.
static java.lang.Number ExpressionEvaluator.getAsNumber(ExpressionQueryRequest request, java.lang.Object object, java.lang.Class numberClass)
           
static java.lang.String ExpressionParser.getExpressionParserMode(ExpressionQueryRequest request)
           
static boolean ExpressionEvaluator.typeSafeComparison(ExpressionQueryRequest request, java.lang.Object object1, java.lang.Object object2, int type)
          Perform a typesafe comparison between the given objects.
 

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

Methods in com.gentics.api.lib.expressionparser.filtergenerator that return ExpressionQueryRequest
 ExpressionQueryRequest MergedFilter.getRequest()
          Get the Expression request
 

Methods in com.gentics.api.lib.expressionparser.filtergenerator with parameters of type ExpressionQueryRequest
 void FilterPart.doPostProcessing(java.util.List<Resolvable> result, ExpressionQueryRequest request)
          Do post processing for this filter part.
 void DatasourceFilter.doPostProcessing(java.util.List<Resolvable> result, ExpressionQueryRequest request)
          Do post processing of the result.
 FilterPart FilterPartGenerator.getFilterPart(ExpressionQueryRequest request)
          Method that is called by the filter when it finally merges all filter parts to use the filter.
 

Constructors in com.gentics.api.lib.expressionparser.filtergenerator with parameters of type ExpressionQueryRequest
MergedFilter(ExpressionQueryRequest request)
          Create an instance of the merged filter
 

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

Methods in com.gentics.api.lib.expressionparser.functions with parameters of type ExpressionQueryRequest
 java.lang.Object Function.evaluate(int functionType, ExpressionQueryRequest request, EvaluableExpression[] operand, int expectedValueType)
          Static evaluation of 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 EvaluationException when it cannot generate a value of this type.
 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.