Interface GetAce
-
- All Known Implementing Classes:
GetAceServlet
public interface GetAce
TheGetAce
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
getAce(javax.jcr.Session jcrSession, String resourcePath, String principalId)
Gets the declared access control entry for a resource and principal
-
-
-
Method Detail
-
getAce
javax.json.JsonObject getAce(javax.jcr.Session jcrSession, String resourcePath, String principalId) throws javax.jcr.RepositoryException
Gets the declared 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
-
-