info.magnolia.jcr.wrapper
Class PropertyAndChildWrappingNodeWrapper
java.lang.Object
info.magnolia.jcr.wrapper.DelegateNodeWrapper
info.magnolia.jcr.wrapper.ChildWrappingNodeWrapper
info.magnolia.jcr.wrapper.PropertyAndChildWrappingNodeWrapper
- All Implemented Interfaces:
- NodeWrapperFactory, PropertyWrapperFactory, Cloneable, javax.jcr.Item, javax.jcr.Node
- Direct Known Subclasses:
- HTMLEscapingNodeWrapper, VersionedNode
public abstract class PropertyAndChildWrappingNodeWrapper
- extends ChildWrappingNodeWrapper
- implements PropertyWrapperFactory
Node wrapper that wraps all returned properties and wraps all returned nodes to extend its property wrapping scheme
to an entire hierarchy.
- 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, getSession, getSharedSet, getUUID, getVersionHistory, getWrappedNode, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, initClone, 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 |
PropertyAndChildWrappingNodeWrapper
public PropertyAndChildWrappingNodeWrapper(javax.jcr.Node wrapped)
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
getWeakReferences
public javax.jcr.PropertyIterator getWeakReferences()
throws javax.jcr.RepositoryException
- Specified by:
getWeakReferences
in interface javax.jcr.Node
- Overrides:
getWeakReferences
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
getReferences
public javax.jcr.PropertyIterator getReferences(String name)
throws javax.jcr.RepositoryException
- Specified by:
getReferences
in interface javax.jcr.Node
- Overrides:
getReferences
in class DelegateNodeWrapper
- Throws:
javax.jcr.RepositoryException
getWeakReferences
public javax.jcr.PropertyIterator getWeakReferences(String name)
throws javax.jcr.RepositoryException
- Specified by:
getWeakReferences
in interface javax.jcr.Node
- Overrides:
getWeakReferences
in class DelegateNodeWrapper
- Throws:
javax.jcr.RepositoryException
getReferences
public javax.jcr.PropertyIterator getReferences()
throws javax.jcr.RepositoryException
- Specified by:
getReferences
in interface javax.jcr.Node
- Overrides:
getReferences
in class DelegateNodeWrapper
- Throws:
javax.jcr.RepositoryException
wrapPropertyIterator
protected javax.jcr.PropertyIterator wrapPropertyIterator(javax.jcr.PropertyIterator propertyIterator)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.