|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.source.helpers.AbstractSourcePermission
public abstract class AbstractSourcePermission
This class is an abstract implementation of a source permission
Field Summary |
---|
Fields inherited from interface org.apache.cocoon.components.source.helpers.SourcePermission |
---|
PRIVILEGE_ALL, PRIVILEGE_CREATE_CONTENT, PRIVILEGE_CREATE_PROPERTY, PRIVILEGE_CREATE_SOURCE, PRIVILEGE_GRANT_PERMISSION, PRIVILEGE_LOCK_SOURCE, PRIVILEGE_MODIFY_CONTENT, PRIVILEGE_MODIFY_PROPERTY, PRIVILEGE_READ, PRIVILEGE_READ_ACL, PRIVILEGE_READ_CONTENT, PRIVILEGE_READ_LOCKS, PRIVILEGE_READ_PROPERTY, PRIVILEGE_READ_SOURCE, PRIVILEGE_REMOVE_CONTENT, PRIVILEGE_REMOVE_PROPERTY, PRIVILEGE_REMOVE_SOURCE, PRIVILEGE_REVOKE_PERMISSION, PRIVILEGE_WRITE, PRIVILEGE_WRITE_ACL |
Constructor Summary | |
---|---|
AbstractSourcePermission()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSourcePermission()
Method Detail |
---|
public void setPrivilege(String privilege)
setPrivilege
in interface SourcePermission
privilege
- Privilege of the permissionpublic String getPrivilege()
getPrivilege
in interface SourcePermission
public void setInheritable(boolean inheritable)
setInheritable
in interface SourcePermission
inheritable
- If the permission is inheritablepublic boolean isInheritable()
isInheritable
in interface SourcePermission
public void setNegative(boolean negative)
setNegative
in interface SourcePermission
negative
- If the permission is a negative permissionpublic boolean isNegative()
isNegative
in interface SourcePermission
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |