Nuxeo Enterprise Platform 5.1

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

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

public final class ACE
extends Object
implements Serializable

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
ACE(String username, String permission, boolean isGranted)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getPermission()
           
 String getUsername()
           
 int hashCode()
           
 boolean isDenied()
          Checks if this privilege is denied.
 boolean isGranted()
          Checks if this privilege is granted.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ACE

public ACE(String username,
           String permission,
           boolean isGranted)
Method Detail

getUsername

public String getUsername()
Returns:
Returns the username.

getPermission

public String getPermission()
Returns:
Returns the permission.

isGranted

public boolean isGranted()
Checks if this privilege is granted.

Returns:
Returns true if the privilege is granted

isDenied

public boolean isDenied()
Checks if this privilege is denied.

Returns:
true if privilege is denied

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.