public interface Ace extends ExtensionsData
Modifier and Type | Method and Description |
---|---|
List<String> |
getPermissions()
Returns the permissions granted to the principal.
|
Principal |
getPrincipal()
Returns the ACE principal.
|
String |
getPrincipalId()
Returns the ACE principal ID.
|
boolean |
isDirect()
Indicates if the ACE was directly applied to the object or has been
inherited from another object (for example from the folder it resides
in).
|
getExtensions, setExtensions
Principal getPrincipal()
String getPrincipalId()
Shortcut for getPrincipal().getId()
.
null
if no principal is setList<String> getPermissions()
null
boolean isDirect()
true
if it is direct ACE, false
if it is
non-direct ACECopyright © 2009–2017 The Apache Software Foundation. All rights reserved.