|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupManager
A group manager.
Method Summary | |
---|---|
Group |
add(java.lang.String id)
Add a group to this manager. |
Group |
getGroup(java.lang.String groupId)
Get the group with the given group name. |
Group[] |
getGroups()
Get all groups. |
void |
remove(Group group)
Remove a group from this manager. |
Methods inherited from interface org.apache.lenya.ac.ItemManager |
---|
addItemManagerListener, getAccreditableManager, removeItemManagerListener |
Method Detail |
---|
Group[] getGroups()
Group add(java.lang.String id) throws AccessControlException
id
- the ID of the group to be added.
AccessControlException
- when the group is already contained.void remove(Group group) throws AccessControlException
group
- the group to be removed.
AccessControlException
- when the group is not contained.Group getGroup(java.lang.String groupId)
groupId
- the id of the requested group.
Group
or null if there is no group with the given name
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |