|
||||||||||
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 allowedTypes,
String separator)
Generate list from the string. |
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 info.magnolia.cms.util.Rule.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)
allowedTypes
- public Rule(String allowedTypes, String separator)
allowedTypes
- separator
- Method Detail |
---|
public void setAllowedTypes(String[] types)
public void addAllowType(String nodeType)
nodeType
- public void removeAllowType(String nodeType)
nodeType
- public boolean isAllowed(String nodeType)
info.magnolia.cms.util.Rule.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 |