public class ApprovalProcessCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements ApprovalProcessCmd
Before executing this task command the following sets should be performed:
Behaviour
This command will set up for and call ApprovalProcessRecordsCmd.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ApprovalProcessCmdImpl()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isReadyToCallExecute()
Check if the command is ready to be executed.
|
void |
performExecute()
The main logic.
|
void |
setAction(java.lang.Integer newAction)
Sets the list of approval status IDs to be acted on.
|
void |
setBusinessFlowEventData(BusinessFlowEventData newBusinessFlowEventData)
Sets the data structure used to process the approval.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
ECException.
com.ibm.commerce.exception.ECException
public void setAction(java.lang.Integer newAction)
setAction
in interface ApprovalProcessCmd
action
- The type of approval action being taken:
approve, reject, or cancel (represented by integers)public void setBusinessFlowEventData(BusinessFlowEventData newBusinessFlowEventData)
setBusinessFlowEventData
in interface ApprovalProcessCmd
businessFlowEventData
- The data for the event representing the approval action.