Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.security
Class Access

java.lang.Object
  extended by org.nuxeo.ecm.core.api.security.Access
All Implemented Interfaces:
Serializable

public final class Access
extends Object
implements Serializable

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
static Access DENY
           
static Access GRANT
           
static Access UNKNOWN
           
 
Method Summary
 boolean toBoolean()
          If granted returns true, otherwise returns false.
 String toString()
           
 int value()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GRANT

public static final Access GRANT

DENY

public static final Access DENY

UNKNOWN

public static final Access UNKNOWN
Method Detail

value

public int value()

toBoolean

public boolean toBoolean()
If granted returns true, otherwise returns false.

Returns:
true if granted

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.