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

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
ActGrpDeleteTaskCmdImpl

public interface ActGrpDeleteTaskCmd
extends TaskCommand

Deletes an individual action group from the datasource. This command accepts the id of the action group to be deleted and then instantiates the ActionGrpAccessBean using this id. The action group is then deleted from the datasource using this access bean.


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
 int getActGrpId()
          Gets the action group id.
 java.lang.String getResultMsg()
          Gets the message to be returned to the caller.
 void setActGrpId(int actGrpId)
          Sets the action group id.
 void setResultMsg(java.lang.String resultMsg)
          Sets the message to be returned to the caller.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

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

getActGrpId

public int getActGrpId()
Gets the action group id.
Returns:
The action group id of the action group to be deleted

getResultMsg

public java.lang.String getResultMsg()
Gets the message to be returned to the caller.
Returns:
Message that is returned to the caller upon completion of the command

setActGrpId

public void setActGrpId(int actGrpId)
Sets the action group id.
Parameters:
actGrpId - The action group id of the action group to be deleted

setResultMsg

public void setResultMsg(java.lang.String resultMsg)
Sets the message to be returned to the caller.
Parameters:
resultMsg - Message that is returned to the caller upon completion of the command