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

Packages that use ExpressionParserException
com.gentics.api.lib.datasource Package for datasource related classes and interfaces. 
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   
com.gentics.api.lib.resolving Package for classes and interfaces related to property resolving. 
 

Uses of ExpressionParserException in com.gentics.api.lib.datasource
 

Methods in com.gentics.api.lib.datasource that throw ExpressionParserException
 DatasourceFilter ResolvableDatasource.createDatasourceFilter(Expression expression)
           
 DatasourceFilter Datasource.createDatasourceFilter(Expression expression)
          Create a datasource filter for the given expression.
 

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

Subclasses of ExpressionParserException in com.gentics.api.lib.expressionparser
 class EvaluationException
          Exception that is thrown whenever the evaluation of any EvaluableExpression fails.
 

Methods in com.gentics.api.lib.expressionparser that throw ExpressionParserException
 boolean EvaluableExpression.allowsNullValues(DatasourceFilter filter)
          Checks wheter this expression allows null values.
 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.
 int EvaluableExpression.getExpectedValueType(DatasourceFilter filter)
          Get the value type which this expression is expected to return
 boolean EvaluableExpression.isStatic(DatasourceFilter filter)
          Check whether the evaluable expression (and all its sub parts) is static or not.
 boolean EvaluableExpression.isVariable(DatasourceFilter filter)
          Check whether the evaluable expression (with its sub parts) contains a variable part.
 boolean ExpressionEvaluator.match(Expression expression)
          Try to match the given expression (against the added resolvables)
 boolean ExpressionEvaluator.match(Expression expression, Resolvable matchedObject)
          Try to match the given expression against the given object (and the added resolvables)
 

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

Subclasses of ExpressionParserException in com.gentics.api.lib.expressionparser.filtergenerator
 class FilterGeneratorException
          Exception that might be thrown during the generation of a datasource filter.
 

Methods in com.gentics.api.lib.expressionparser.filtergenerator that throw ExpressionParserException
 void FilterPart.addFilterPartGenerator(FilterPartGenerator filterPartGenerator)
          Add a filter part generator to the filter that generates a part of the statement dynamically when the filter is used to fetch results from a datasource.
 void FilterPart.addFilterStatementPart(String statementPart)
          Add a filter statement part
 void FilterPart.addFilterStatementPart(String statementPart, Object[] parameters)
          Add a filter statement part together with some parameters (e.g.
 void FilterPart.addFunctionToEvaluate(Function function, int type, EvaluableExpression[] operands, int expectedValueType)
          Add the given function to the filter for later evaluation.
 void FilterPart.addLiteral(Object literal, int expectedValueType)
          Add the given literal to the filter.
 void FilterPart.addPostProcessor(PostProcessor postProcessor, EvaluableExpression data)
          Add a post processor to this filter part
 void FilterPart.addResolvableObject(String expressionName, int expectedValueType)
          Add a resolvable object to the filter.
 void FilterPart.addVariable(String expressionName, int expectedValueType)
          Add a variable to the filter.
 void FilterPart.doPostProcessing(List<Resolvable> result, ExpressionQueryRequest request)
          Do post processing for this filter part.
 void DatasourceFilter.doPostProcessing(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.
 void FilterPart.mergeInto(MergedFilter mergedFilter)
          Merge this filterpart into the merged filter (final step of filter generation).
 

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

Methods in com.gentics.api.lib.expressionparser.functions that throw ExpressionParserException
 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.
 int Function.getExpectedValueType(int functionType)
          Get the value type which this expression is expected to return
 

Uses of ExpressionParserException in com.gentics.api.lib.resolving
 

Methods in com.gentics.api.lib.resolving that throw ExpressionParserException
 void PropertySetter.performAssignment(Expression expression)
          Perform the given assignment expression
 



Copyright © 2013 Gentics Software GmbH. All Rights Reserved.