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

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

public interface ActGrpDeleteCmd
extends ToolsControllerCommand

Deletes Action Groups from the datasource. Following is the list of parameters the command accepts from the User Interface:

    Mandatory parameters
  1. viewtaskname - View that is executed upon completion of the command
  2. actGrpId - Comma delimited string of action group ids

This command first parses the comma delimited String containing the action group ids of all the action groups to be deleted and then iteratively calls the ActGrpDeleteTaskCmd task command to delete the individual action groups from the datasource.


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 getActGrpIds()
          Gets the list of action group ids to be deleted.
 java.lang.String getViewTask()
          Gets the view task name.
 void setActGrpIds(java.lang.String actGrpIds)
          Sets the list of action group ids to be deleted.
 void setViewTask(java.lang.String newViewTask)
          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

getActGrpIds

public java.lang.String getActGrpIds()
Gets the list of action group ids to be deleted.
Returns:
The comma delimited String of getActGrpIds

getViewTask

public java.lang.String getViewTask()
Gets the view task name.
Returns:
View that is executed upon completion of the command

setActGrpIds

public void setActGrpIds(java.lang.String actGrpIds)
Sets the list of action group ids to be deleted.
Parameters:
actGrpIds - The comma delimited String of actGrpIds

setViewTask

public void setViewTask(java.lang.String newViewTask)
Sets the view task name to be returned to the caller.
Parameters:
viewTask - View that is executed upon completion of the command