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
  • 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:
      getWorkspace in interface javax.jcr.Session
      Overrides:
      getWorkspace in class ProxySession<org.apache.jackrabbit.api.JackrabbitSession>
    • hasPermission

      public boolean hasPermission(String absPath, String... actions) throws javax.jcr.RepositoryException
      Specified by:
      hasPermission in interface org.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:
      getPrincipalManager in interface org.apache.jackrabbit.api.JackrabbitSession
      Throws:
      javax.jcr.AccessDeniedException
      javax.jcr.UnsupportedRepositoryOperationException
      javax.jcr.RepositoryException
    • getUserManager

      public org.apache.jackrabbit.api.security.user.UserManager getUserManager() throws javax.jcr.AccessDeniedException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
      Specified by:
      getUserManager in interface org.apache.jackrabbit.api.JackrabbitSession
      Throws:
      javax.jcr.AccessDeniedException
      javax.jcr.UnsupportedRepositoryOperationException
      javax.jcr.RepositoryException
    • getItemOrNull

      public javax.jcr.Item getItemOrNull(String absPath) throws javax.jcr.RepositoryException
      Specified by:
      getItemOrNull in interface org.apache.jackrabbit.api.JackrabbitSession
      Throws:
      javax.jcr.RepositoryException
    • getPropertyOrNull

      public javax.jcr.Property getPropertyOrNull(String absPath) throws javax.jcr.RepositoryException
      Specified by:
      getPropertyOrNull in interface org.apache.jackrabbit.api.JackrabbitSession
      Throws:
      javax.jcr.RepositoryException
    • getNodeOrNull

      public javax.jcr.Node getNodeOrNull(String absPath) throws javax.jcr.RepositoryException
      Specified by:
      getNodeOrNull in interface org.apache.jackrabbit.api.JackrabbitSession
      Throws:
      javax.jcr.RepositoryException