com.ibm.commerce.collaboration.workspaces.commands
Interface AccessSpaceCtrlCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
All Known Implementing Classes:
AccessSpaceCtrlCmdImpl

public interface AccessSpaceCtrlCmd
extends ToolsControllerCommand

Redirects the browser to the QuickPlace that is associated with a collaborative workspace.

Behaviour

The command does the following:

  1. Creates an instance of the CollabManagerAccessBean.
  2. Gets the QuickPlace server host name (QPHost) from the access bean.
  3. Gets the QuickPlace server port number (QPPort) from the access bean.
  4. Gets the collaborative workspace Id (CollabSpaceId) from the requestProperties object.
  5. Constructs the redirect URL as following: http://QPHost:QPPort/CollabSpaceId

Redirects the browser to the constructed URL.

Exception Conditions

If the collaborative workspace Id parameter is missing, the command sets the _ERR_MISSING_CMD_PARAMETER exception task to handle the error.


Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
static java.lang.String defaultCommandClassName
          The default implementation class is "com.ibm.commerce.collaboration.workspaces.commands.AccessSpaceCtrlCmdImpl"
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.collaboration.workspaces.commands.AccessSpaceCtrlCmd".
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class is "com.ibm.commerce.collaboration.workspaces.commands.AccessSpaceCtrlCmdImpl"

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.collaboration.workspaces.commands.AccessSpaceCtrlCmd".