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, mountFields 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_VERSIONINGFields inherited from interface javax.jcr.Session
ACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionProxyJackrabbitSession(ProxyRepository repository, org.apache.jackrabbit.api.JackrabbitSession jcr, javax.jcr.Session mount, Set<String> mountPoints) -
Method Summary
Modifier and TypeMethodDescriptionjavax.jcr.ItemgetItemOrNull(String absPath) javax.jcr.NodegetNodeOrNull(String absPath) org.apache.jackrabbit.api.security.principal.PrincipalManagerjavax.jcr.PropertygetPropertyOrNull(String absPath) org.apache.jackrabbit.api.security.user.UserManagerjavax.jcr.WorkspacebooleanhasPermission(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, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 Details
-
ProxyJackrabbitSession
public ProxyJackrabbitSession(ProxyRepository repository, org.apache.jackrabbit.api.JackrabbitSession jcr, javax.jcr.Session mount, Set<String> mountPoints)
-
-
Method Details
-
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
- Specified by:
getItemOrNullin interfaceorg.apache.jackrabbit.api.JackrabbitSession- Throws:
javax.jcr.RepositoryException
-
getPropertyOrNull
- Specified by:
getPropertyOrNullin interfaceorg.apache.jackrabbit.api.JackrabbitSession- Throws:
javax.jcr.RepositoryException
-
getNodeOrNull
- Specified by:
getNodeOrNullin interfaceorg.apache.jackrabbit.api.JackrabbitSession- Throws:
javax.jcr.RepositoryException
-