uPortal 2.4.1
API Documentation

org.jasig.portal.channels.groupsmanager
Class GroupsManagerCommandFactory

java.lang.Object
  extended byorg.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.12 $
Author:
Don Fracapane

Field Summary
 
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
 
Constructor Summary
GroupsManagerCommandFactory()
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupsManagerCommandFactory

public GroupsManagerCommandFactory()
Method Detail

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[]

uPortal 2.4.1
API Documentation