com.ibm.commerce.accesscontrol.policyeditor.commands
Interface ActGrpUpdateCmd

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

public interface ActGrpUpdateCmd
extends ToolsControllerCommand

Updates the action group data. Following is the list of parameters the command accepts from the User Interface:

This command modifies an existing entry in the action group table.

The following steps are executed by the command sequentially:

  1. Modifies the name of the action group and also the description if a description is specified in the user interface.
  2. Parses the list of actoin Ids to obtain an array of actionIds to be associated with this action group.
  3. Deletes any existing associations with actions by calling iteratively instantiating the ActActGrpAccessBean access bean.
  4. Adds new associations with actions specified in the actionId array by iteratively calling the ActionActGrpAddTaskCmd task command.


Field Summary
static java.lang.String COPYRIGHT
          copyright notice
static java.lang.String defaultCommandClassName
          name of the default implementation of this command
static java.lang.String NAME
          name of this command
 
Method Summary
 java.lang.String getActGrpDisplayName()
          Gets the display name of the action group.
 java.lang.Integer getActGrpId()
          Gets the action group Id
 java.lang.String getActGrpName()
          Gets the name of the action group.
 java.lang.String getActionIds()
          Gets the list of action ids to be added to the action group.
 java.lang.String getDescription()
          Gets the description of the action group.
 java.lang.String getViewTask()
          Gets the view task name to be returned to the caller
 void setActGrpDisplayName(java.lang.String actGrpDisplayName)
          Sets the display name of the action group.
 void setActGrpId(java.lang.Integer actGrpId)
          Sets the action group Id.
 void setActGrpName(java.lang.String actGrpName)
          Sets the name of the action group.
 void setActionIds(java.lang.String actionIds)
          Sets the list of action ids to be added to the action group.
 void setDescription(java.lang.String description)
          Sets the description of the action group.
 void setViewTask(java.lang.String viewTask)
          Sets the view task name to be returned to the caller.
 
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
copyright notice

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
name of the default implementation of this command

NAME

public static final java.lang.String NAME
name of this command
Method Detail

getActGrpDisplayName

public java.lang.String getActGrpDisplayName()
Gets the display name of the action group.
Returns:
The display name of the action group

getActGrpId

public java.lang.Integer getActGrpId()
Gets the action group Id
Returns:
The action group Id

getActGrpName

public java.lang.String getActGrpName()
Gets the name of the action group.
Returns:
The name of the action group

getActionIds

public java.lang.String getActionIds()
Gets the list of action ids to be added to the action group.
Returns:
The comma delimied string of all the actions to to be associated with this action group

getDescription

public java.lang.String getDescription()
Gets the description of the action group.
Returns:
The description of the action group

getViewTask

public java.lang.String getViewTask()
Gets the view task name to be returned to the caller
Returns:
The view task name to be returned to the caller.

setActGrpDisplayName

public void setActGrpDisplayName(java.lang.String actGrpDisplayName)
Sets the display name of the action group.
Parameters:
actGrpDisplayName - The display name of the action group

setActGrpId

public void setActGrpId(java.lang.Integer actGrpId)
Sets the action group Id.
Parameters:
actGrpId - The action group Id.

setActGrpName

public void setActGrpName(java.lang.String actGrpName)
Sets the name of the action group.
Parameters:
actGrpName - The name of the action group

setActionIds

public void setActionIds(java.lang.String actionIds)
Sets the list of action ids to be added to the action group.
Parameters:
actionIds - The comma delimied string of all the actions to to be associated with this action group

setDescription

public void setDescription(java.lang.String description)
Sets the description of the action group.
Parameters:
description - The description of the action group

setViewTask

public void setViewTask(java.lang.String viewTask)
Sets the view task name to be returned to the caller.
Parameters:
viewTask - The view task name to be returned to the caller.