info.magnolia.jcr.predicate
Class NodeTypeParentPredicate

java.lang.Object
  extended by info.magnolia.jcr.predicate.AbstractPredicate<javax.jcr.Node>
      extended by info.magnolia.jcr.predicate.NodeTypeParentPredicate
All Implemented Interfaces:
org.apache.jackrabbit.commons.predicate.Predicate

public class NodeTypeParentPredicate
extends AbstractPredicate<javax.jcr.Node>

Predicate filtering based on the primary type of the node.

Version:
$Id$

Field Summary
 
Fields inherited from interface org.apache.jackrabbit.commons.predicate.Predicate
FALSE, TRUE
 
Constructor Summary
NodeTypeParentPredicate(String primaryNodeType)
           
 
Method Summary
 boolean evaluateTyped(javax.jcr.Node node)
           
 
Methods inherited from class info.magnolia.jcr.predicate.AbstractPredicate
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypeParentPredicate

public NodeTypeParentPredicate(String primaryNodeType)
Method Detail

evaluateTyped

public boolean evaluateTyped(javax.jcr.Node node)
Specified by:
evaluateTyped in class AbstractPredicate<javax.jcr.Node>


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.