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

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

public interface ResGrpDeleteCmd
extends ToolsControllerCommand

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

This command first parses the comma delimited String containing the resource group ids of all the resource groups to be deleted and then iteratively calls the ResGrpDeleteTaskCmd task command to delete the individual resource 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 getResGrpIds()
          Gets the list of resource group ids to be deleted.
 java.lang.String getViewTask()
          Gets the view task name.
 void setResGrpIds(java.lang.String resGrpIds)
          Sets the list of resource 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

getResGrpIds

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

getViewTask

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

setResGrpIds

public void setResGrpIds(java.lang.String resGrpIds)
Sets the list of resource group ids to be deleted.
Parameters:
resGrpIds - The comma delimited String of resGrpIds

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