|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthorizablePrivilegesInfo
Method Summary | |
---|---|
boolean |
canAddGroup(javax.jcr.Session jcrSession)
Checks whether the current user has been granted privileges to add a new group. |
boolean |
canAddUser(javax.jcr.Session jcrSession)
Checks whether the current user has been granted privileges to add a new user. |
boolean |
canRemove(javax.jcr.Session jcrSession,
String principalId)
Checks whether the current user has been granted privileges to remove the specified user or group. |
boolean |
canUpdateGroupMembers(javax.jcr.Session jcrSession,
String groupId)
Checks whether the current user has been granted privileges to update the membership of the specified group. |
boolean |
canUpdateProperties(javax.jcr.Session jcrSession,
String principalId)
Checks whether the current user has been granted privileges to update the properties of the specified user or group. |
Method Detail |
---|
boolean canAddUser(javax.jcr.Session jcrSession)
jcrSession
- the JCR session of the current user
boolean canAddGroup(javax.jcr.Session jcrSession)
jcrSession
- the JCR session of the current user
boolean canUpdateProperties(javax.jcr.Session jcrSession, String principalId)
jcrSession
- the JCR session of the current userprincipalId
- the user or group id to check
boolean canRemove(javax.jcr.Session jcrSession, String principalId)
jcrSession
- the JCR session of the current userprincipalId
- the user or group id to check
boolean canUpdateGroupMembers(javax.jcr.Session jcrSession, String groupId)
jcrSession
- the JCR session of the current usergroupId
- the group id to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |