|
ModeShape Distribution 3.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.security.acl.Privileges
public class Privileges
Collection of supported privileges. Internal helper class that groups privileges objects declared by JCR 2.0 spec and provides several utility methods.
Constructor Summary | |
---|---|
Privileges(JcrSession session)
Creates privileges related to the given session. |
Method Summary | |
---|---|
PrivilegeImpl |
forAction(String action)
Searches JCR defined privilege object which belongs to the given modeshape action. |
PrivilegeImpl |
forName(String name)
Searches privilege object for the privilege with the given name. |
Privilege[] |
listOfSupported()
Supported privileges. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Privileges(JcrSession session)
session
- the jcr session.Method Detail |
---|
public Privilege[] listOfSupported()
public PrivilegeImpl forName(String name)
name
- the name of privilege to find.
public PrivilegeImpl forAction(String action)
action
- the name of the modeshape action
|
ModeShape Distribution 3.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |