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