|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessControlUtils
AccessControlUtils
...
Method Summary | |
---|---|
boolean |
isAcItem(ItemImpl item)
Test if the specified path points to an item that defines AC information and consequently should be considered protected. |
boolean |
isAcItem(Path absPath)
Test if the specified path points to an item that defines AC information. |
boolean |
isAdminOrSystem(Set principals)
Test if the specified set of principals contains an admin or system principal. |
boolean |
isReadOnly(Set principals)
Test if if the specified set of principals will have read-only permissions only. |
Method Detail |
---|
boolean isAcItem(Path absPath) throws RepositoryException
absPath
-
absPath
contains
access control information.
RepositoryException
boolean isAcItem(ItemImpl item) throws RepositoryException
item
-
item
defines
access control related information is should therefore be considered
protected.
RepositoryException
boolean isAdminOrSystem(Set principals)
principals
-
AdminPrincipal
or a SystemPrincipal
.boolean isReadOnly(Set principals)
principals
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |