Package com.day.cq.wcm.api
Class IsPageNodePredicate
java.lang.Object
com.day.cq.commons.predicate.AbstractNodePredicate
com.day.cq.wcm.api.IsPageNodePredicate
- All Implemented Interfaces:
Predicate
@Service(Predicate.class)
@Properties(@Property(name="predicate.name",value="page"))
@Deprecated
public class IsPageNodePredicate
extends AbstractNodePredicate
implements Predicate
Deprecated.
Predicate used to filter Template nodes.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.day.cq.commons.predicate.AbstractNodePredicate
evaluate
-
Constructor Details
-
IsPageNodePredicate
public IsPageNodePredicate()Deprecated.
-
-
Method Details
-
evaluate
Deprecated.usePageNodePredicate.test(Node)
insteadEvaluates this predicate on the given node.- Specified by:
evaluate
in classAbstractNodePredicate
- Parameters:
node
- the node- Returns:
true
if node is an nt:folder containing templates or cq:Template node.- Throws:
RepositoryException
- if an error during evaluation occurs
-
PageNodePredicate
instead