Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public final class ACE
extends Object
implements Serializable, Cloneable

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
ACE()
           
ACE(String username, String permission, boolean isGranted)
           
 
Method Summary
 Object clone()
           
 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
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ACE

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

ACE

public ACE()
Method Detail

getUsername

public String getUsername()

getPermission

public String getPermission()

isGranted

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

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

clone

public Object clone()
Overrides:
clone in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.