public class AccessControlEntryImpl extends java.lang.Object implements AccessControlEntry, AuditableAccessControlEntry
AccessControlEntry
.Constructor and Description |
---|
AccessControlEntryImpl(java.io.Serializable id,
Acl acl,
Sid sid,
Permission permission,
boolean granting,
boolean auditSuccess,
boolean auditFailure) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object arg0) |
Acl |
getAcl() |
java.io.Serializable |
getId()
Obtains an identifier that represents this ACE.
|
Permission |
getPermission() |
Sid |
getSid() |
int |
hashCode() |
boolean |
isAuditFailure() |
boolean |
isAuditSuccess() |
boolean |
isGranting()
Indicates the permission is being granted to the relevant Sid.
|
java.lang.String |
toString() |
public AccessControlEntryImpl(java.io.Serializable id, Acl acl, Sid sid, Permission permission, boolean granting, boolean auditSuccess, boolean auditFailure)
public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Acl getAcl()
getAcl
in interface AccessControlEntry
public java.io.Serializable getId()
AccessControlEntry
getId
in interface AccessControlEntry
null
if unsavedpublic Permission getPermission()
getPermission
in interface AccessControlEntry
public Sid getSid()
getSid
in interface AccessControlEntry
public boolean isAuditFailure()
isAuditFailure
in interface AuditableAccessControlEntry
public boolean isAuditSuccess()
isAuditSuccess
in interface AuditableAccessControlEntry
public boolean isGranting()
AccessControlEntry
isGranting
in interface AccessControlEntry
public java.lang.String toString()
toString
in class java.lang.Object