Interface GetAcl

  • All Known Implementing Classes:
    GetAclServlet

    public interface GetAcl
    The GetAcl service api.

    This interface is not intended to be implemented by bundles. It is implemented by this bundle and may be used by client bundles.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.json.JsonObject getAcl​(javax.jcr.Session jcrSession, String resourcePath)
      Gets the access control list for a resource.
    • Method Detail

      • getAcl

        javax.json.JsonObject getAcl​(javax.jcr.Session jcrSession,
                                     String resourcePath)
                              throws javax.jcr.RepositoryException
        Gets the access control list for a resource.
        Parameters:
        jcrSession - the JCR session of the user updating the user
        resourcePath - The path of the resource to get the ACL for (required)
        Returns:
        the ACL as a JSON object
        Throws:
        javax.jcr.RepositoryException - if any errors reading the information