|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.util.Rule
public class Rule
This class defines the rules to be used by the activation content aggregator this is simply a collection of node types.
Constructor Summary | |
---|---|
Rule()
|
|
Rule(String[] allowedTypes)
Generate list from string array. |
|
Rule(String ruleStringRepresentation,
String separator)
Generate Rule from the string representation of Rule. |
Method Summary | |
---|---|
void |
addAllowType(String nodeType)
Add to allow list. |
boolean |
isAllowed(javax.jcr.Node node)
True if given nodeType is allowed. |
boolean |
isAllowed(String nodeType)
Deprecated. since 4.5.5 - use isAllowed(Node) instead. |
void |
removeAllowType(String nodeType)
Remove from allow list. |
void |
reverse()
Set reverse. |
void |
setAllowedTypes(String[] types)
|
String |
toString()
Get a string representation of this rule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Rule()
public Rule(String[] allowedTypes)
public Rule(String ruleStringRepresentation, String separator)
toString()
Method Detail |
---|
public void setAllowedTypes(String[] types)
public void addAllowType(String nodeType)
public void removeAllowType(String nodeType)
public boolean isAllowed(String nodeType)
isAllowed(Node)
instead.
public boolean isAllowed(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public String toString()
toString
in class Object
public void reverse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |