Interface AccessControlEntry
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
AuditableAccessControlEntry
- All Known Implementing Classes:
AccessControlEntryImpl
public interface AccessControlEntry extends java.io.SerializableRepresents an individual permission assignment within anAcl.Instances MUST be immutable, as they are returned by
Acland should not allow client modification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AclgetAcl()java.io.SerializablegetId()Obtains an identifier that represents this ACE.PermissiongetPermission()SidgetSid()booleanisGranting()Indicates the permission is being granted to the relevant Sid.
-
-
-
Method Detail
-
getAcl
Acl getAcl()
-
getId
java.io.Serializable getId()
Obtains an identifier that represents this ACE.- Returns:
- the identifier, or
nullif unsaved
-
getPermission
Permission getPermission()
-
getSid
Sid getSid()
-
isGranting
boolean isGranting()
Indicates the permission is being granted to the relevant Sid. If false, indicates the permission is being revoked/blocked.- Returns:
- true if being granted, false otherwise
-
-