org.apache.cocoon.components.source.helpers
Class GroupSourcePermission
java.lang.Object
org.apache.cocoon.components.source.helpers.AbstractSourcePermission
org.apache.cocoon.components.source.helpers.GroupSourcePermission
- All Implemented Interfaces:
- SourcePermission
public class GroupSourcePermission
- extends AbstractSourcePermission
This class represents a source permission for groups
- Version:
- CVS $Id: GroupSourcePermission.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Stephan Michels
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 |
Method Summary |
String |
getGroup()
Returns the group of users for the permission |
void |
setGroup(String group)
Sets the group of users for the permission |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupSourcePermission
public GroupSourcePermission(String group,
String privilege,
boolean inheritable,
boolean negative)
- Creates a new permission
- Parameters:
group
- Group of the permissionprivilege
- Privilege of the permissioninheritable
- If the permission is inheritablenegative
- If the permission is negative
setGroup
public void setGroup(String group)
- Sets the group of users for the permission
- Parameters:
group
- Group of users
getGroup
public String getGroup()
- Returns the group of users for the permission
- Returns:
- Group of users
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.