Package | Description |
---|---|
com.gentics.api.lib.expressionparser |
Package for classes and interfaces related to parsing and evaluating
of expressions.
|
com.gentics.api.lib.expressionparser.filtergenerator |
Modifier and Type | Method and Description |
---|---|
static boolean |
ExpressionEvaluator.containsNone(Collection leftCollection,
Collection rightCollection)
Check whether the collections have no object in common
|
static boolean |
ExpressionEvaluator.containsOneOf(Collection leftCollection,
Collection rightCollection)
Check whether the left collection contains at least one object of the
right collection
|
static byte[] |
ExpressionEvaluator.getAsBinary(Object object)
Get the given object as binary.
|
static Boolean |
ExpressionEvaluator.getAsBoolean(Object object)
Get the given object as boolean.
|
static Collection |
ExpressionEvaluator.getAsCollection(Object object)
Get the given object as Collection.
|
static Date |
ExpressionEvaluator.getAsDate(Object object)
Get the given object as Date.
|
static Number |
ExpressionEvaluator.getAsNumber(ExpressionQueryRequest request,
Object object,
Class numberClass) |
static Number |
ExpressionEvaluator.getAsNumber(Object object)
Get the given object as number.
|
static Number |
ExpressionEvaluator.getAsNumber(Object object,
Class numberClass)
Get the given object as number of the given class.
|
static String |
ExpressionEvaluator.getAsString(Object object)
Get the given object as String.
|
static Object |
ExpressionEvaluator.getAsType(Object object,
int type)
Get the given object as object of specified type.
|
protected static int |
ExpressionEvaluator.getObjectType(Object object)
Analyze the given object and get the objecttype
|
protected static boolean |
ExpressionEvaluator.incompatibleComparisonTypes(Object object1,
Object object2)
Helper method to throw an Exception "Incompatible types found in
comparison..."
|
static boolean |
ExpressionEvaluator.isTypeSafeEqual(Object object1,
Object object2)
Check whether the objects are typesafe equal.
|
static boolean |
ExpressionEvaluator.isTypeSafeUnequal(Object object1,
Object object2)
Check whether the objects are typesafe unequal.
|
static boolean |
ExpressionEvaluator.typeSafeComparison(ExpressionQueryRequest request,
Object object1,
Object object2,
int type)
Perform a typesafe comparison between the given objects.
|
Modifier and Type | Method and Description |
---|---|
void |
PostProcessor.process(List<Resolvable> resolvables,
Object data)
Process the given list of resolvables, which is the result of the datasource query
|
Copyright © 2014 Gentics Software GmbH. All Rights Reserved.