com.ibm.commerce.accesscontrol.policyeditor.commands
Class ActGrpDeleteTaskCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.accesscontrol.policyeditor.commands.ActGrpDeleteTaskCmdImpl
- All Implemented Interfaces:
- ActGrpDeleteTaskCmd, ECCommand, TaskCommand
- public class ActGrpDeleteTaskCmdImpl
- extends TaskCommandImpl
- implements ActGrpDeleteTaskCmd
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.
Method Summary |
int |
getActGrpId()
Gets the action group id. |
java.lang.String |
getResultMsg()
Gets the message to be returned to the caller. |
void |
performExecute()
Deletes the specified Action Group from the datasource. |
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 class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
ActGrpDeleteTaskCmdImpl
public ActGrpDeleteTaskCmdImpl()
- Constructs an ActGrpDeleteTaskCmdImpl object.
getActGrpId
public int getActGrpId()
- Gets the action group id.
- Specified by:
getActGrpId
in interface ActGrpDeleteTaskCmd
- 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.
- Specified by:
getResultMsg
in interface ActGrpDeleteTaskCmd
- Returns:
- Message that is returned to the caller
upon completion of the command
performExecute
public void performExecute()
throws ECException
- Deletes the specified Action Group from the datasource.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Throws:
ECException
- If an error is encountered while
updating the datasource
setActGrpId
public void setActGrpId(int actGrpId)
- Sets the action group id.
- Specified by:
setActGrpId
in interface ActGrpDeleteTaskCmd
- 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.
- Specified by:
setResultMsg
in interface ActGrpDeleteTaskCmd
- Parameters:
resultMsg
- Message that is returned to the caller
upon completion of the command