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

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

public interface ActionActGrpAddTaskCmd
extends TaskCommand

Associates an individual action with an action group. This command accepts an action Id and an action group Id as input. With these parameters creates an entry in the relationship table between action group and action by using the ActActGrpAccessBean.


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
 int getActionId()
          Gets the value of the action id to be added to the action group.
 java.lang.String getResultMsg()
          Gets the message to be returned to the caller.
 void setActGrpId(int actGrpId)
          Sets the action group Id
 void setActionId(int actionId)
          Sets the value of the action id to be added to the action group.
 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

getActionId

public int getActionId()
Gets the value of the action id to be added to the action group.
Returns:
The value of the action id

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

setActionId

public void setActionId(int actionId)
Sets the value of the action id to be added to the action group.
Parameters:
actionId - The value of the action id

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