Nuxeo Enterprise Platform 5.4

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

java.lang.Object
  extended by 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

Field Summary
static Access DENY
           
static Access GRANT
           
static Access UNKNOWN
           
 
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
 

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 java.lang.String toString()
Overrides:
toString in class java.lang.Object

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.