info.magnolia.jcr.wrapper
Class SystemNodeWrapper

java.lang.Object
  extended by info.magnolia.jcr.wrapper.DelegateNodeWrapper
      extended by info.magnolia.jcr.wrapper.LazyNodeWrapper
          extended by info.magnolia.jcr.wrapper.SystemNodeWrapper
All Implemented Interfaces:
Cloneable, javax.jcr.Item, javax.jcr.Node

public class SystemNodeWrapper
extends LazyNodeWrapper

Node wrapper that will reacquire the node using LifeTimeJCRSessionUtil if its session is closed.

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
SystemNodeWrapper(javax.jcr.Node node)
           
SystemNodeWrapper(String repository, String nodeIdentifier)
           
 
Method Summary
protected  javax.jcr.Session getSessionForWrappedNode(String workspace)
           
 
Methods inherited from class info.magnolia.jcr.wrapper.LazyNodeWrapper
getWrappedNode, setWrappedNode
 
Methods inherited from class info.magnolia.jcr.wrapper.DelegateNodeWrapper
accept, addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, clone, deepUnwrap, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getAncestor, getBaseVersion, getCorrespondingNodePath, getDefinition, getDepth, getIdentifier, getIndex, getLock, getMixinNodeTypes, getName, getNode, getNodes, getNodes, getNodes, getParent, getPath, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSession, getSharedSet, getUUID, getVersionHistory, getWeakReferences, getWeakReferences, 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, toString, unlock, update
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemNodeWrapper

public SystemNodeWrapper(String repository,
                         String nodeIdentifier)

SystemNodeWrapper

public SystemNodeWrapper(javax.jcr.Node node)
                  throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException
Method Detail

getSessionForWrappedNode

protected javax.jcr.Session getSessionForWrappedNode(String workspace)
                                              throws javax.jcr.RepositoryException
Overrides:
getSessionForWrappedNode in class LazyNodeWrapper
Throws:
javax.jcr.RepositoryException


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