info.magnolia.cms.security
Class MgnlGroupManager
java.lang.Object
info.magnolia.cms.security.MgnlGroupManager
- All Implemented Interfaces:
- GroupManager
public class MgnlGroupManager
- extends Object
- implements GroupManager
Manages groups stored in the ContentRepository.USER_GROUPS
workspace.
- Author:
- Sameer Charles $Id: MgnlGroupManager.java 41137 2011-01-06 18:19:25Z gjoseph $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MgnlGroupManager
public MgnlGroupManager()
createGroup
public Group createGroup(String name)
throws UnsupportedOperationException,
AccessDeniedException
- Specified by:
createGroup
in interface GroupManager
- Throws:
UnsupportedOperationException
- if the implementation does not support writing
AccessDeniedException
getGroup
public Group getGroup(String name)
throws UnsupportedOperationException,
AccessDeniedException
- Specified by:
getGroup
in interface GroupManager
- Throws:
UnsupportedOperationException
- if the implementation does not support writing
AccessDeniedException
getAllGroups
public Collection<Group> getAllGroups()
- Description copied from interface:
GroupManager
- Get all groups defined in the system.
- Specified by:
getAllGroups
in interface GroupManager
newGroupInstance
protected Group newGroupInstance(Content node)
getHierarchyManager
protected HierarchyManager getHierarchyManager()
- Returns the HierarchyManager (through the system context).
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.