public class DBSExpressionEvaluator extends ExpressionEvaluator
DBSDocument
state.Modifier and Type | Class and Description |
---|---|
static class |
DBSExpressionEvaluator.OrderByComparator |
ExpressionEvaluator.PathResolver
NXQL_ECM_ANCESTOR_IDS, NXQL_ECM_PATH, NXQL_ECM_READ_ACL, pathResolver, principals
Constructor and Description |
---|
DBSExpressionEvaluator(DBSSession session,
Expression expr,
String[] principals) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluateReference(Reference ref,
State state)
Evaluates a reference over the given state.
|
boolean |
matches(DBSDocumentState docState) |
boolean |
matches(State state) |
Object |
walkReference(Reference ref)
Evaluates a reference over the context state.
|
walkAnd, walkBooleanLiteral, walkDateLiteral, walkDoubleLiteral, walkEq, walkExpression, walkFunction, walkGt, walkGtEq, walkIn, walkIntegerLiteral, walkIsNotNull, walkIsNull, walkLike, walkLiteral, walkLiteralList, walkLt, walkLtEq, walkMultiExpression, walkNot, walkNotEq, walkOperand, walkOr, walkStartsWith, walkStringLiteral
public DBSExpressionEvaluator(DBSSession session, Expression expr, String[] principals)
public boolean matches(State state)
public boolean matches(DBSDocumentState docState)
public Object walkReference(Reference ref)
ExpressionEvaluator
walkReference
in class ExpressionEvaluator
ref
- the referencepublic Object evaluateReference(Reference ref, State state)
ExpressionEvaluator
evaluateReference
in class ExpressionEvaluator
ref
- the referencestate
- the state representationCopyright © 2015 Nuxeo SA. All rights reserved.