info.magnolia.jcr.wrapper
Class PropertyFilteringNodeWrapper
java.lang.Object
info.magnolia.jcr.wrapper.DelegateNodeWrapper
info.magnolia.jcr.wrapper.ChildWrappingNodeWrapper
info.magnolia.jcr.wrapper.PropertyFilteringNodeWrapper
- All Implemented Interfaces:
- NodeWrapperFactory, Cloneable, javax.jcr.Item, javax.jcr.Node
- Direct Known Subclasses:
- JCRPropertiesFilteringNodeWrapper
public class PropertyFilteringNodeWrapper
- extends ChildWrappingNodeWrapper
Node wrapper that filters out properties based on a predicate, child nodes acquired via this wrapper are also
wrapped in order to filter properties on them as well.
- Version:
- $Id$
Fields inherited from interface javax.jcr.Node |
JCR_CHILD_NODE_DEFINITION, JCR_CONTENT, JCR_FROZEN_NODE, JCR_PROPERTY_DEFINITION, JCR_ROOT_VERSION, JCR_VERSION_LABELS |
Methods inherited from class info.magnolia.jcr.wrapper.DelegateNodeWrapper |
accept, addMixin, canAddMixin, cancelMerge, checkin, checkout, clone, deepUnwrap, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getAncestor, getBaseVersion, getCorrespondingNodePath, getDefinition, getDepth, getIdentifier, getIndex, getLock, getMixinNodeTypes, getName, getParent, getPath, getPrimaryItem, getPrimaryNodeType, getReferences, getReferences, getSession, getSharedSet, getUUID, getVersionHistory, getWeakReferences, getWeakReferences, getWrappedNode, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isModified, isNew, isNode, isNodeType, isSame, lock, merge, orderBefore, refresh, remove, removeMixin, removeShare, removeSharedSet, restore, restore, restore, restoreByLabel, save, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setWrappedNode, toString, unlock, update |
PropertyFilteringNodeWrapper
public PropertyFilteringNodeWrapper(javax.jcr.Node wrapped,
AbstractPredicate<javax.jcr.Property> predicate)
getProperties
public javax.jcr.PropertyIterator getProperties()
throws javax.jcr.RepositoryException
- Specified by:
getProperties
in interface javax.jcr.Node
- Overrides:
getProperties
in class DelegateNodeWrapper
- Throws:
javax.jcr.RepositoryException
getProperties
public javax.jcr.PropertyIterator getProperties(String namePattern)
throws javax.jcr.RepositoryException
- Specified by:
getProperties
in interface javax.jcr.Node
- Overrides:
getProperties
in class DelegateNodeWrapper
- Throws:
javax.jcr.RepositoryException
getProperties
public javax.jcr.PropertyIterator getProperties(String[] nameGlobs)
throws javax.jcr.RepositoryException
- Specified by:
getProperties
in interface javax.jcr.Node
- Overrides:
getProperties
in class DelegateNodeWrapper
- Throws:
javax.jcr.RepositoryException
getProperty
public javax.jcr.Property getProperty(String relPath)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
- Specified by:
getProperty
in interface javax.jcr.Node
- Overrides:
getProperty
in class DelegateNodeWrapper
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.