info.magnolia.jcr.wrapper
Class ChildWrappingNodeWrapper

java.lang.Object
  extended by info.magnolia.jcr.wrapper.DelegateNodeWrapper
      extended by info.magnolia.jcr.wrapper.ChildWrappingNodeWrapper
All Implemented Interfaces:
NodeWrapperFactory, Cloneable, javax.jcr.Item, javax.jcr.Node
Direct Known Subclasses:
ExtendingNodeWrapper, InheritanceNodeWrapper

Deprecated. since magnolia 4.5.8 use ContentDecoratorNodeWrapper instead

@Deprecated
public abstract class ChildWrappingNodeWrapper
extends DelegateNodeWrapper
implements NodeWrapperFactory

Wrapper providing support for wrapping all child nodes of the wrapped node incl those returned by the NodeIterators.

Version:
$Id$

Field Summary
 
Fields inherited from class info.magnolia.jcr.wrapper.DelegateNodeWrapper
wrapped
 
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
 
Constructor Summary
ChildWrappingNodeWrapper(javax.jcr.Node wrapped)
          Deprecated.  
 
Method Summary
 javax.jcr.Node addNode(String relPath)
          Deprecated.  
 javax.jcr.Node addNode(String relPath, String primaryNodeTypeName)
          Deprecated.  
 javax.jcr.Node getNode(String relPath)
          Deprecated.  
 javax.jcr.NodeIterator getNodes()
          Deprecated.  
 javax.jcr.NodeIterator getNodes(String namePattern)
          Deprecated.  
 javax.jcr.NodeIterator getNodes(String[] nameGlobs)
          Deprecated.  
 javax.jcr.Node wrapNode(javax.jcr.Node node)
          Deprecated.  
protected  javax.jcr.NodeIterator wrapNodeIterator(javax.jcr.NodeIterator nodeIterator)
          Deprecated.  
 
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, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSession, getSharedSet, getUUID, getVersionHistory, getWeakReferences, getWeakReferences, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChildWrappingNodeWrapper

public ChildWrappingNodeWrapper(javax.jcr.Node wrapped)
Deprecated. 
Method Detail

getNode

public javax.jcr.Node getNode(String relPath)
                       throws javax.jcr.PathNotFoundException,
                              javax.jcr.RepositoryException
Deprecated. 
Specified by:
getNode in interface javax.jcr.Node
Overrides:
getNode in class DelegateNodeWrapper
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

addNode

public javax.jcr.Node addNode(String relPath)
                       throws javax.jcr.ItemExistsException,
                              javax.jcr.PathNotFoundException,
                              javax.jcr.version.VersionException,
                              javax.jcr.nodetype.ConstraintViolationException,
                              javax.jcr.lock.LockException,
                              javax.jcr.RepositoryException
Deprecated. 
Specified by:
addNode in interface javax.jcr.Node
Overrides:
addNode in class DelegateNodeWrapper
Throws:
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException

addNode

public javax.jcr.Node addNode(String relPath,
                              String primaryNodeTypeName)
                       throws javax.jcr.ItemExistsException,
                              javax.jcr.PathNotFoundException,
                              javax.jcr.nodetype.NoSuchNodeTypeException,
                              javax.jcr.lock.LockException,
                              javax.jcr.version.VersionException,
                              javax.jcr.nodetype.ConstraintViolationException,
                              javax.jcr.RepositoryException
Deprecated. 
Specified by:
addNode in interface javax.jcr.Node
Overrides:
addNode in class DelegateNodeWrapper
Throws:
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.lock.LockException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.RepositoryException

getNodes

public javax.jcr.NodeIterator getNodes()
                                throws javax.jcr.RepositoryException
Deprecated. 
Specified by:
getNodes in interface javax.jcr.Node
Overrides:
getNodes in class DelegateNodeWrapper
Throws:
javax.jcr.RepositoryException

getNodes

public javax.jcr.NodeIterator getNodes(String namePattern)
                                throws javax.jcr.RepositoryException
Deprecated. 
Specified by:
getNodes in interface javax.jcr.Node
Overrides:
getNodes in class DelegateNodeWrapper
Throws:
javax.jcr.RepositoryException

getNodes

public javax.jcr.NodeIterator getNodes(String[] nameGlobs)
                                throws javax.jcr.RepositoryException
Deprecated. 
Specified by:
getNodes in interface javax.jcr.Node
Overrides:
getNodes in class DelegateNodeWrapper
Throws:
javax.jcr.RepositoryException

wrapNode

public javax.jcr.Node wrapNode(javax.jcr.Node node)
Deprecated. 
Specified by:
wrapNode in interface NodeWrapperFactory

wrapNodeIterator

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


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.