- Since:
- 5.2
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
TypePredicateEvaluator
public TypePredicateEvaluator()
getXPathExpression
public String getXPathExpression(Predicate p,
EvaluationContext context)
- Description copied from class:
AbstractPredicateEvaluator
- Default implementation that always returns
null, ie. adds
nothing to the XPath query. Subclasses can choose whether they want to
implement this method or use the
AbstractPredicateEvaluator.includes(Predicate, Row, EvaluationContext) method for advanced
filtering (or both).
- Specified by:
getXPathExpression in interface PredicateEvaluator- Overrides:
getXPathExpression in class AbstractPredicateEvaluator
- Parameters:
p - predicate (for this evaluator type) which is evaluatedcontext - helper class which provides access to various elements of the
query evaluation
- Returns:
- string containing an XPath predicateEvaluator expression
getOrderByProperties
public String[] getOrderByProperties(Predicate p,
EvaluationContext context)
- Description copied from class:
AbstractPredicateEvaluator
- Default implementation that always returns
null.
- Specified by:
getOrderByProperties in interface PredicateEvaluator- Overrides:
getOrderByProperties in class AbstractPredicateEvaluator
- Parameters:
p - predicate (for this evaluator type) which is evaluatedcontext - helper class which provides access to various elements of the
query evaluation
- Returns:
- one or multiple relative paths to JCR properties or
null
getFacetExtractor
public FacetExtractor getFacetExtractor(Predicate predicate,
EvaluationContext context)
- Description copied from class:
AbstractPredicateEvaluator
- Default implementation that always returns
null, ie. no
facets will be extracted for the predicate.
- Specified by:
getFacetExtractor in interface PredicateEvaluator- Overrides:
getFacetExtractor in class AbstractPredicateEvaluator
- Parameters:
predicate - predicate (for this evaluator type) which is evaluatedcontext - helper class which provides access to various elements of the
query evaluation
- Returns:
- a
FacetExtractor that is used to create a Facet
or null if no extractor shall be provided
getDescendentNodeTypes
protected List<NodeType> getDescendentNodeTypes(NodeType nodeType,
NodeTypeManager nodeTypeManager)
throws RepositoryException
- Throws:
RepositoryException
Copyright © 2009 Day Management AG. All Rights Reserved.