Package com.day.cq.commons.predicate
Class IsAuthorizableFolderPredicate
- java.lang.Object
-
- com.day.cq.commons.predicate.AbstractNodePredicate
-
- com.day.cq.commons.predicate.IsAuthorizableFolderPredicate
-
- All Implemented Interfaces:
Predicate
@Service(Predicate.class) @Properties(@Property(name="predicate.name",value="authorizablefolder")) public class IsAuthorizableFolderPredicate extends AbstractNodePredicate implements Predicate
Predicate used to filter Folder nodes. Accepts rep:AuthorizableFolder nodes.
-
-
Constructor Summary
Constructors Constructor Description IsAuthorizableFolderPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(Node node)
Evaluates this predicate on the given node.-
Methods inherited from class com.day.cq.commons.predicate.AbstractNodePredicate
evaluate
-
-
-
-
Method Detail
-
evaluate
public boolean evaluate(Node node) throws RepositoryException
Evaluates this predicate on the given node.- Specified by:
evaluate
in classAbstractNodePredicate
- Parameters:
node
- the node- Returns:
true
if node is an rep:AuthorizableFolder node.- Throws:
RepositoryException
- if an error during evaluation occurs
-
-