info.magnolia.jcr.wrapper
Class NodeWrappingDelegateSessionWrapper
java.lang.Object
info.magnolia.jcr.wrapper.DelegateSessionWrapper
info.magnolia.jcr.wrapper.NodeWrappingDelegateSessionWrapper
- All Implemented Interfaces:
- javax.jcr.Session
- Direct Known Subclasses:
- MgnlVersioningSession
public abstract class NodeWrappingDelegateSessionWrapper
- extends DelegateSessionWrapper
Session wrapper for wrapping nodes returned by a session.
- Version:
- $Id$
Fields inherited from interface javax.jcr.Session |
ACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY |
Methods inherited from class info.magnolia.jcr.wrapper.DelegateSessionWrapper |
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getProperty, getRepository, getRetentionManager, getUserID, getValueFactory, getWorkspace, getWrappedSession, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, move, nodeExists, propertyExists, refresh, removeItem, removeLockToken, save, setNamespacePrefix, setWrappedSession, toString, unwrap |
NodeWrappingDelegateSessionWrapper
public NodeWrappingDelegateSessionWrapper(javax.jcr.Session wrapped)
getNode
public javax.jcr.Node getNode(String absPath)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException
- Specified by:
getNode
in interface javax.jcr.Session
- Overrides:
getNode
in class DelegateSessionWrapper
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
getNodeByIdentifier
public javax.jcr.Node getNodeByIdentifier(String id)
throws javax.jcr.ItemNotFoundException,
javax.jcr.RepositoryException
- Specified by:
getNodeByIdentifier
in interface javax.jcr.Session
- Overrides:
getNodeByIdentifier
in class DelegateSessionWrapper
- Throws:
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
getNodeByUUID
public javax.jcr.Node getNodeByUUID(String uuid)
throws javax.jcr.ItemNotFoundException,
javax.jcr.RepositoryException
- Specified by:
getNodeByUUID
in interface javax.jcr.Session
- Overrides:
getNodeByUUID
in class DelegateSessionWrapper
- Throws:
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
getRootNode
public javax.jcr.Node getRootNode()
throws javax.jcr.RepositoryException
- Specified by:
getRootNode
in interface javax.jcr.Session
- Overrides:
getRootNode
in class DelegateSessionWrapper
- Throws:
javax.jcr.RepositoryException
wrapNode
protected abstract javax.jcr.Node wrapNode(javax.jcr.Node node)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.