|
||||||||||
| 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<Principal> principals)
Test if the specified set of principals contains an admin or system principal. |
boolean |
isReadOnly(Set<Principal> principals)
Test if if the specified set of principals will have read-only permissions only. |
| Method Detail |
|---|
boolean isAcItem(Path absPath)
throws RepositoryException
absPath - Path to an item.
absPath contains
access control information.
RepositoryException - If an error occurs.
boolean isAcItem(ItemImpl item)
throws RepositoryException
item - An item.
item defines
access control related information is should therefore be considered
protected.
RepositoryException - If an error occurs.boolean isAdminOrSystem(Set<Principal> principals)
principals - A set of principals.
AdminPrincipal or a SystemPrincipal.boolean isReadOnly(Set<Principal> principals)
principals - A set of principals.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||