public abstract class ExpressionEvaluator extends Object
Expression
.Modifier and Type | Class and Description |
---|---|
static interface |
ExpressionEvaluator.PathResolver
Interface for a class that knows how to resolve a path into an id.
|
Modifier and Type | Field and Description |
---|---|
static String |
NXQL_ECM_ANCESTOR_IDS
pseudo NXQL to resolve ancestor ids.
|
static String |
NXQL_ECM_PATH
pseudo NXQL to resolve internal path.
|
static String |
NXQL_ECM_READ_ACL
pseudo NXQL to resolve read acls.
|
ExpressionEvaluator.PathResolver |
pathResolver |
Set<String> |
principals |
Constructor and Description |
---|
ExpressionEvaluator(ExpressionEvaluator.PathResolver pathResolver,
String[] principals) |
public static final String NXQL_ECM_ANCESTOR_IDS
public static final String NXQL_ECM_PATH
public static final String NXQL_ECM_READ_ACL
public final ExpressionEvaluator.PathResolver pathResolver
public ExpressionEvaluator(ExpressionEvaluator.PathResolver pathResolver, String[] principals)
public Object walkExpression(Expression expr)
public Boolean walkMultiExpression(MultiExpression expr)
public Boolean walkBooleanLiteral(BooleanLiteral lit)
public Calendar walkDateLiteral(DateLiteral lit)
public Double walkDoubleLiteral(DoubleLiteral lit)
public Long walkIntegerLiteral(IntegerLiteral lit)
public String walkStringLiteral(StringLiteral lit)
public List<Object> walkLiteralList(LiteralList litList)
public Boolean walkLike(Operand lvalue, Operand rvalue, boolean positive, boolean caseInsensitive)
public abstract Object walkReference(Reference ref)
ref
- the referenceCopyright © 2015 Nuxeo SA. All rights reserved.