info.magnolia.jcr.decoration
Interface ContentDecorator

All Known Implementing Classes:
AbstractContentDecorator, ChannelVisibilityContentDecorator, NodePredicateContentDecorator

public interface ContentDecorator

Applies custom behaviour of a graph of JCR objects. Allows expressing the logig in a single place.

Version:
$Id$

Method Summary
 boolean evaluateNode(javax.jcr.Node node)
           
 boolean evaluateProperty(javax.jcr.Property property)
           
 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)
           
 

Method Detail

wrapSession

javax.jcr.Session wrapSession(javax.jcr.Session session)

wrapNode

javax.jcr.Node wrapNode(javax.jcr.Node node)

wrapNodeIterator

javax.jcr.NodeIterator wrapNodeIterator(javax.jcr.NodeIterator nodeIterator)

evaluateNode

boolean evaluateNode(javax.jcr.Node node)

wrapProperty

javax.jcr.Property wrapProperty(javax.jcr.Property property)

wrapPropertyIterator

javax.jcr.PropertyIterator wrapPropertyIterator(javax.jcr.PropertyIterator propertyIterator)

evaluateProperty

boolean evaluateProperty(javax.jcr.Property property)


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