org.nuxeo.ecm.core.api.security
Class Access
java.lang.Object
org.nuxeo.ecm.core.api.security.Access
- All Implemented Interfaces:
- java.io.Serializable
public final class Access
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Method Summary |
boolean |
toBoolean()
If granted returns true, otherwise returns false. |
java.lang.String |
toString()
|
int |
value()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GRANT
public static final Access GRANT
DENY
public static final Access DENY
UNKNOWN
public static final Access UNKNOWN
value
public int value()
toBoolean
public boolean toBoolean()
- If granted returns true, otherwise returns false.
- Returns:
- true if granted
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010 Nuxeo SAS. All Rights Reserved.