org.jasig.portal.channels.groupsmanager
Class GroupsManagerCommandFactory
java.lang.Object
org.jasig.portal.channels.groupsmanager.GroupsManagerCommandFactory
- All Implemented Interfaces:
- GroupsManagerConstants
public class GroupsManagerCommandFactory
- extends java.lang.Object
- implements GroupsManagerConstants
A class designed to decouple a request for an action to be performed from the
class responsible for the action. Also centralizes authorization for commands.
- Version:
- $Revision: 1.13 $
- Author:
- Don Fracapane
Fields inherited from interface org.jasig.portal.channels.groupsmanager.GroupsManagerConstants |
ADD_REMOVE_PERMISSION, ASSIGN_PERMISSION, BASE_PACKAGE, BROWSE_MODE, COMMANDS_PACKAGE, CREATE_PERMISSION, DELETE_PERMISSION, EDIT_MODE, ENTITY_CLASSNAME, ENTITY_TAGNAME, GROUP_CLASSNAME, GROUP_TAGNAME, GROUPS_PACKAGE, MEMBERS_ONLY_MODE, OWNER, PROPERTIES_TAGNAME, ROOT_GROUP_DESCRIPTION, ROOT_GROUP_TITLE, SECURITY_PACKAGE, SELECT_MODE, SELECT_PERMISSION, UPDATE_PERMISSION, VIEW_PERMISSION, WRAPPERS_PACKAGE |
Method Summary |
static IGroupsManagerCommand |
get(java.lang.String name)
Returns the instance of a command object bound to a name. |
static java.lang.String[] |
getKeys()
Returns the names of the bound command objects. |
static void |
init()
Lazily initialize the static variables. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BINDINGS
protected static java.util.HashMap BINDINGS
INITIALIZED
protected static boolean INITIALIZED
GroupsManagerCommandFactory
public GroupsManagerCommandFactory()
init
public static void init()
- Lazily initialize the static variables.
Binds a hasmap name to an instance of a command object
get
public static IGroupsManagerCommand get(java.lang.String name)
- Returns the instance of a command object bound to a name.
- Parameters:
name
-
- Returns:
- IGroupsManagerCommand
getKeys
public static java.lang.String[] getKeys()
- Returns the names of the bound command objects. Used for debugging.
- Returns:
- String[]