|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourcePermission
This interface represents a permission for a source
Field Summary | |
---|---|
static String |
PRIVILEGE_ALL
|
static String |
PRIVILEGE_CREATE_CONTENT
|
static String |
PRIVILEGE_CREATE_PROPERTY
|
static String |
PRIVILEGE_CREATE_SOURCE
|
static String |
PRIVILEGE_GRANT_PERMISSION
|
static String |
PRIVILEGE_LOCK_SOURCE
|
static String |
PRIVILEGE_MODIFY_CONTENT
|
static String |
PRIVILEGE_MODIFY_PROPERTY
|
static String |
PRIVILEGE_READ
|
static String |
PRIVILEGE_READ_ACL
|
static String |
PRIVILEGE_READ_CONTENT
|
static String |
PRIVILEGE_READ_LOCKS
|
static String |
PRIVILEGE_READ_PROPERTY
|
static String |
PRIVILEGE_READ_SOURCE
|
static String |
PRIVILEGE_REMOVE_CONTENT
|
static String |
PRIVILEGE_REMOVE_PROPERTY
|
static String |
PRIVILEGE_REMOVE_SOURCE
|
static String |
PRIVILEGE_REVOKE_PERMISSION
|
static String |
PRIVILEGE_WRITE
|
static String |
PRIVILEGE_WRITE_ACL
|
Method Summary | |
---|---|
String |
getPrivilege()
Returns the privilege of the permission |
boolean |
isInheritable()
Returns the inheritable flag |
boolean |
isNegative()
Returns the negative flag |
void |
setInheritable(boolean inheritable)
Sets the inheritable flag |
void |
setNegative(boolean negative)
Sets the negative flag |
void |
setPrivilege(String privilege)
Sets the privilege of the permission |
Field Detail |
---|
static final String PRIVILEGE_ALL
static final String PRIVILEGE_READ
static final String PRIVILEGE_WRITE
static final String PRIVILEGE_READ_ACL
static final String PRIVILEGE_WRITE_ACL
static final String PRIVILEGE_READ_SOURCE
static final String PRIVILEGE_CREATE_SOURCE
static final String PRIVILEGE_REMOVE_SOURCE
static final String PRIVILEGE_LOCK_SOURCE
static final String PRIVILEGE_READ_LOCKS
static final String PRIVILEGE_READ_PROPERTY
static final String PRIVILEGE_CREATE_PROPERTY
static final String PRIVILEGE_MODIFY_PROPERTY
static final String PRIVILEGE_REMOVE_PROPERTY
static final String PRIVILEGE_READ_CONTENT
static final String PRIVILEGE_CREATE_CONTENT
static final String PRIVILEGE_MODIFY_CONTENT
static final String PRIVILEGE_REMOVE_CONTENT
static final String PRIVILEGE_GRANT_PERMISSION
static final String PRIVILEGE_REVOKE_PERMISSION
Method Detail |
---|
void setPrivilege(String privilege)
privilege
- Privilege of the permissionString getPrivilege()
void setInheritable(boolean inheritable)
inheritable
- If the permission is inheritableboolean isInheritable()
void setNegative(boolean negative)
negative
- If the permission is a negative permissionboolean isNegative()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |