public interface CentraSiteACE
Modifier and Type | Method and Description |
---|---|
void |
addPrivilege(CentraSitePrivilege privilege)
Add a privilege.
|
CentraSitePrincipal |
getPrincipal()
Get the principal.
|
java.util.Collection |
getPrivileges()
Get the privileges.
|
boolean |
isGrant()
Returns true, if the privileges of this ACE are all granted,
and false if the privileges of this ACE are all denied.
|
void |
removePrivilege(CentraSitePrivilege privilege)
Remove a privilege.
|
void |
setGrant(boolean grant)
Sets whether the privileges of this ACE are granted (grant=true) or denied (grant=false).
|
void |
setOwnerObject(CentraSiteACL owner)
Sets this CentraSiteACE's owner object.
|
void |
setPrincipal(CentraSitePrincipal principal)
Set the principal.
|
void |
setPrincipal(javax.xml.namespace.QName principal)
Set the principal.
|
void setPrincipal(CentraSitePrincipal principal)
principal
- the principalvoid setPrincipal(javax.xml.namespace.QName principal)
principal
- the principalCentraSitePrincipal getPrincipal()
void addPrivilege(CentraSitePrivilege privilege)
privilege
- a privilegevoid removePrivilege(CentraSitePrivilege privilege)
privilege
- the privilege to be removedjava.util.Collection getPrivileges()
void setGrant(boolean grant)
grant
- true to grant, false to denyboolean isGrant()
void setOwnerObject(CentraSiteACL owner)
owner
- this CentraSiteACE's owner object, maybe null