info.magnolia.cms.security
Class MgnlGroupManager

java.lang.Object
  extended by info.magnolia.cms.security.MgnlGroupManager
All Implemented Interfaces:
GroupManager

public class MgnlGroupManager
extends java.lang.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 $

Constructor Summary
MgnlGroupManager()
           
 
Method Summary
 Group createGroup(java.lang.String name)
           
 java.util.Collection<Group> getAllGroups()
          Get all groups defined in the system.
 Group getGroup(java.lang.String name)
           
protected  HierarchyManager getHierarchyManager()
          Returns the HierarchyManager (through the system context).
protected  Group newGroupInstance(Content node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MgnlGroupManager

public MgnlGroupManager()
Method Detail

createGroup

public Group createGroup(java.lang.String name)
                  throws java.lang.UnsupportedOperationException,
                         AccessDeniedException
Specified by:
createGroup in interface GroupManager
Throws:
java.lang.UnsupportedOperationException - if the implementation does not support writing
AccessDeniedException

getGroup

public Group getGroup(java.lang.String name)
               throws java.lang.UnsupportedOperationException,
                      AccessDeniedException
Specified by:
getGroup in interface GroupManager
Throws:
java.lang.UnsupportedOperationException - if the implementation does not support writing
AccessDeniedException

getAllGroups

public java.util.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-2011 Magnolia International Ltd.. All Rights Reserved.