D
- implementation of decorator.public class ContentDecoratorSessionWrapper<D extends ContentDecorator> extends DelegateSessionWrapper
ContentDecorator
.wrapped
Constructor and Description |
---|
ContentDecoratorSessionWrapper(javax.jcr.Session session,
D contentDecorator) |
Modifier and Type | Method and Description |
---|---|
D |
getContentDecorator() |
javax.jcr.Item |
getItem(String absPath) |
javax.jcr.Node |
getNode(String absPath) |
javax.jcr.Node |
getNodeByIdentifier(String id) |
javax.jcr.Node |
getNodeByUUID(String uuid) |
javax.jcr.Property |
getProperty(String absPath) |
javax.jcr.Node |
getRootNode() |
javax.jcr.Workspace |
getWorkspace() |
boolean |
itemExists(String absPath) |
void |
move(String srcAbsPath,
String destAbsPath) |
boolean |
nodeExists(String absPath) |
boolean |
propertyExists(String absPath) |
void |
removeItem(String absPath) |
protected javax.jcr.Node |
wrapNode(javax.jcr.Node node) |
protected javax.jcr.Property |
wrapProperty(javax.jcr.Property property) |
protected javax.jcr.Workspace |
wrapWorkspace(javax.jcr.Workspace workspace) |
addLockToken, checkPermission, clone, deepUnwrap, equals, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getRepository, getRetentionManager, getUserID, getValueFactory, getWrappedSession, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, initClone, isLive, logout, refresh, removeLockToken, save, setNamespacePrefix, setWrappedSession, toString, unwrap
public ContentDecoratorSessionWrapper(javax.jcr.Session session, D contentDecorator)
public D getContentDecorator()
public boolean itemExists(String absPath) throws javax.jcr.RepositoryException
itemExists
in interface javax.jcr.Session
itemExists
in class DelegateSessionWrapper
javax.jcr.RepositoryException
public javax.jcr.Item getItem(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
getItem
in interface javax.jcr.Session
getItem
in class DelegateSessionWrapper
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public void removeItem(String absPath) throws javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
removeItem
in interface javax.jcr.Session
removeItem
in class DelegateSessionWrapper
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public javax.jcr.Node getRootNode() throws javax.jcr.RepositoryException
getRootNode
in interface javax.jcr.Session
getRootNode
in class DelegateSessionWrapper
javax.jcr.RepositoryException
public boolean nodeExists(String absPath) throws javax.jcr.RepositoryException
nodeExists
in interface javax.jcr.Session
nodeExists
in class DelegateSessionWrapper
javax.jcr.RepositoryException
public javax.jcr.Node getNode(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
getNode
in interface javax.jcr.Session
getNode
in class DelegateSessionWrapper
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public javax.jcr.Node getNodeByIdentifier(String id) throws javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
getNodeByIdentifier
in interface javax.jcr.Session
getNodeByIdentifier
in class DelegateSessionWrapper
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
public javax.jcr.Node getNodeByUUID(String uuid) throws javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
getNodeByUUID
in interface javax.jcr.Session
getNodeByUUID
in class DelegateSessionWrapper
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
public boolean propertyExists(String absPath) throws javax.jcr.RepositoryException
propertyExists
in interface javax.jcr.Session
propertyExists
in class DelegateSessionWrapper
javax.jcr.RepositoryException
public javax.jcr.Property getProperty(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
getProperty
in interface javax.jcr.Session
getProperty
in class DelegateSessionWrapper
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public void move(String srcAbsPath, String destAbsPath) throws javax.jcr.ItemExistsException, javax.jcr.PathNotFoundException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
move
in interface javax.jcr.Session
move
in class DelegateSessionWrapper
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public javax.jcr.Workspace getWorkspace()
getWorkspace
in interface javax.jcr.Session
getWorkspace
in class DelegateSessionWrapper
protected javax.jcr.Workspace wrapWorkspace(javax.jcr.Workspace workspace)
protected javax.jcr.Node wrapNode(javax.jcr.Node node)
protected javax.jcr.Property wrapProperty(javax.jcr.Property property)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.