public class PropertyFilteringContentDecorator extends AbstractContentDecorator
Constructor and Description |
---|
PropertyFilteringContentDecorator(AbstractPredicate<javax.jcr.Property> predicate) |
PropertyFilteringContentDecorator(AbstractPredicate<javax.jcr.Property> predicate,
boolean multipleWrapEnabled) |
Modifier and Type | Method and Description |
---|---|
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.PropertyIterator |
wrapPropertyIterator(javax.jcr.PropertyIterator nodeIterator) |
evaluateNode, isDecorating, wrapNode, wrapNodeIterator, wrapProperty, wrapSession, wrapVersion, wrapVersionHistory, wrapVersionIterator, wrapVersionManager, wrapWorkspace
public PropertyFilteringContentDecorator(AbstractPredicate<javax.jcr.Property> predicate)
public PropertyFilteringContentDecorator(AbstractPredicate<javax.jcr.Property> predicate, boolean multipleWrapEnabled)
public javax.jcr.PropertyIterator wrapPropertyIterator(javax.jcr.PropertyIterator nodeIterator)
wrapPropertyIterator
in interface ContentDecorator
wrapPropertyIterator
in class AbstractContentDecorator
public boolean evaluateProperty(javax.jcr.Property property)
ContentDecorator
evaluateProperty
in interface ContentDecorator
evaluateProperty
in class AbstractContentDecorator
property
- the property to evaluate.public boolean isMultipleWrapEnabled()
ContentDecorator
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.