Interface GetPrincipalAce
-
- All Known Implementing Classes:
GetPrincipalAceServlet
public interface GetPrincipalAceTheGetPrincipalAceservice 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.JsonObjectgetPrincipalAce(javax.jcr.Session jcrSession, String resourcePath, String principalId)Gets the principal based access control entry for a resource and principal
-
-
-
Method Detail
-
getPrincipalAce
javax.json.JsonObject getPrincipalAce(javax.jcr.Session jcrSession, String resourcePath, String principalId) throws javax.jcr.RepositoryExceptionGets the principal based access control entry for a resource and principal- Parameters:
jcrSession- the JCR session of the user updating the userresourcePath- The path of the resource to get the ACE for (required)principalId- the principal to get the ACE for (required)- Returns:
- the ACE as a JSON object
- Throws:
javax.jcr.RepositoryException- if any errors reading the information
-
-