Class HierarchyNotFilePredicate

  • All Implemented Interfaces:
    Predicate

    @Service(Predicate.class)
    @Properties(@Property(name="predicate.name",value="hierarchyNotFile"))
    public class HierarchyNotFilePredicate
    extends AbstractNodePredicate
    implements Predicate
    Predicate used to filter Hierarchy nodes BUT not nt:file nodes.
    • Constructor Detail

      • HierarchyNotFilePredicate

        public HierarchyNotFilePredicate()
    • Method Detail

      • evaluate

        public boolean evaluate​(javax.jcr.Node node)
                         throws javax.jcr.RepositoryException
        Evaluates this predicate on the given node.
        Specified by:
        evaluate in class AbstractNodePredicate
        Parameters:
        node - the node
        Returns:
        true if node is nt:hierarchyNode but not nt:file
        Throws:
        javax.jcr.RepositoryException - if an error during evaluation occurs