public interface ACL
Modifier and Type | Field and Description |
---|---|
static int |
ACL_PRIVILEGE_FULL
Read, write and delete privileges over the object.
|
static int |
ACL_PRIVILEGE_NONE
No privilege over the object.
|
static int |
ACL_PRIVILEGE_READ
Only read privilege over the object.
|
static int |
ACL_PRIVILEGE_WRITE
Only read and write privileges over the object.
|
Modifier and Type | Method and Description |
---|---|
int |
getPrivilege()
Gets the ACL Privilege.
|
void |
setPrivilege(int privilege)
Sets the ACL Privilege.
|
static final int ACL_PRIVILEGE_NONE
static final int ACL_PRIVILEGE_READ
static final int ACL_PRIVILEGE_WRITE
static final int ACL_PRIVILEGE_FULL
void setPrivilege(int privilege) throws java.lang.Exception
privilege
- The ACL privilege to set. Should be a constant from the ACL
interfacejava.lang.Exception
- If an error occurs while trying to set the object's privilegeint getPrivilege()