|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentDecorator
Applies custom behavior in a graph of JCR objects by wrapping objects. Allows for expressing the logic in a single place.
AbstractContentDecorator
Method Summary | |
---|---|
boolean |
evaluateNode(javax.jcr.Node node)
Evaluates if a node should be hidden by wrappers. |
boolean |
evaluateProperty(javax.jcr.Property property)
Evaluates if a property should be hidden by wrappers. |
boolean |
isMultipleWrapEnabled()
Tells if multiple wrapping with this content decorator is enabled. |
javax.jcr.Node |
wrapNode(javax.jcr.Node node)
|
javax.jcr.NodeIterator |
wrapNodeIterator(javax.jcr.NodeIterator nodeIterator)
|
javax.jcr.Property |
wrapProperty(javax.jcr.Property property)
|
javax.jcr.PropertyIterator |
wrapPropertyIterator(javax.jcr.PropertyIterator propertyIterator)
|
javax.jcr.Session |
wrapSession(javax.jcr.Session session)
|
javax.jcr.Workspace |
wrapWorkspace(javax.jcr.Workspace workspace)
|
Method Detail |
---|
javax.jcr.Session wrapSession(javax.jcr.Session session)
javax.jcr.Workspace wrapWorkspace(javax.jcr.Workspace workspace)
javax.jcr.Node wrapNode(javax.jcr.Node node)
javax.jcr.NodeIterator wrapNodeIterator(javax.jcr.NodeIterator nodeIterator)
boolean evaluateNode(javax.jcr.Node node)
node
- the node to evaluate
javax.jcr.Property wrapProperty(javax.jcr.Property property)
javax.jcr.PropertyIterator wrapPropertyIterator(javax.jcr.PropertyIterator propertyIterator)
boolean evaluateProperty(javax.jcr.Property property)
property
- the property to evaluate.
boolean isMultipleWrapEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |