Class ProxyJackrabbitSession
- java.lang.Object
-
- org.apache.sling.jcr.base.internal.mount.ProxySession<org.apache.jackrabbit.api.JackrabbitSession>
-
- org.apache.sling.jcr.base.internal.mount.ProxyJackrabbitSession
-
- All Implemented Interfaces:
javax.jcr.Session,org.apache.jackrabbit.api.JackrabbitSession
public class ProxyJackrabbitSession extends ProxySession<org.apache.jackrabbit.api.JackrabbitSession> implements org.apache.jackrabbit.api.JackrabbitSession
-
-
Field Summary
-
Fields inherited from class org.apache.sling.jcr.base.internal.mount.ProxySession
jcr, mount
-
Fields inherited from interface org.apache.jackrabbit.api.JackrabbitSession
ACTION_ADD_PROPERTY, ACTION_LOCKING, ACTION_MODIFY_ACCESS_CONTROL, ACTION_MODIFY_PROPERTY, ACTION_NODE_TYPE_MANAGEMENT, ACTION_READ_ACCESS_CONTROL, ACTION_REMOVE_NODE, ACTION_REMOVE_PROPERTY, ACTION_USER_MANAGEMENT, ACTION_VERSIONING
-
-
Constructor Summary
Constructors Constructor Description ProxyJackrabbitSession(ProxyRepository repository, org.apache.jackrabbit.api.JackrabbitSession jcr, javax.jcr.Session mount, Set<String> mountPoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jcr.ItemgetItemOrNull(String absPath)javax.jcr.NodegetNodeOrNull(String absPath)org.apache.jackrabbit.api.security.principal.PrincipalManagergetPrincipalManager()javax.jcr.PropertygetPropertyOrNull(String absPath)org.apache.jackrabbit.api.security.user.UserManagergetUserManager()javax.jcr.WorkspacegetWorkspace()booleanhasPermission(String absPath, String... actions)-
Methods inherited from class org.apache.sling.jcr.base.internal.mount.ProxySession
addLockToken, addNode, addNode, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getNodes, getProperty, getRepository, getRetentionManager, getRootNode, getUserID, getValueFactory, hasCapability, hasNodes, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, move, nodeExists, propertyExists, refresh, refresh, removeItem, removeLockToken, save, setNamespacePrefix, unwrap, wrap, wrap, wrap, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jcr.Session
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRepository, getRetentionManager, getRootNode, getUserID, getValueFactory, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, move, nodeExists, propertyExists, refresh, removeItem, removeLockToken, save, setNamespacePrefix
-
-
-
-
Constructor Detail
-
ProxyJackrabbitSession
public ProxyJackrabbitSession(ProxyRepository repository, org.apache.jackrabbit.api.JackrabbitSession jcr, javax.jcr.Session mount, Set<String> mountPoints)
-
-
Method Detail
-
getWorkspace
public javax.jcr.Workspace getWorkspace()
- Specified by:
getWorkspacein interfacejavax.jcr.Session- Overrides:
getWorkspacein classProxySession<org.apache.jackrabbit.api.JackrabbitSession>
-
hasPermission
public boolean hasPermission(String absPath, String... actions) throws javax.jcr.RepositoryException
- Specified by:
hasPermissionin interfaceorg.apache.jackrabbit.api.JackrabbitSession- Throws:
javax.jcr.RepositoryException
-
getPrincipalManager
public org.apache.jackrabbit.api.security.principal.PrincipalManager getPrincipalManager() throws javax.jcr.AccessDeniedException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException- Specified by:
getPrincipalManagerin interfaceorg.apache.jackrabbit.api.JackrabbitSession- Throws:
javax.jcr.AccessDeniedExceptionjavax.jcr.UnsupportedRepositoryOperationExceptionjavax.jcr.RepositoryException
-
getUserManager
public org.apache.jackrabbit.api.security.user.UserManager getUserManager() throws javax.jcr.AccessDeniedException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException- Specified by:
getUserManagerin interfaceorg.apache.jackrabbit.api.JackrabbitSession- Throws:
javax.jcr.AccessDeniedExceptionjavax.jcr.UnsupportedRepositoryOperationExceptionjavax.jcr.RepositoryException
-
getItemOrNull
public javax.jcr.Item getItemOrNull(String absPath) throws javax.jcr.RepositoryException
- Specified by:
getItemOrNullin interfaceorg.apache.jackrabbit.api.JackrabbitSession- Throws:
javax.jcr.RepositoryException
-
getPropertyOrNull
public javax.jcr.Property getPropertyOrNull(String absPath) throws javax.jcr.RepositoryException
- Specified by:
getPropertyOrNullin interfaceorg.apache.jackrabbit.api.JackrabbitSession- Throws:
javax.jcr.RepositoryException
-
getNodeOrNull
public javax.jcr.Node getNodeOrNull(String absPath) throws javax.jcr.RepositoryException
- Specified by:
getNodeOrNullin interfaceorg.apache.jackrabbit.api.JackrabbitSession- Throws:
javax.jcr.RepositoryException
-
-