public class ApprovalProcessCmdImpl extends TaskCommandImpl implements ApprovalProcessCmd
Before executing this task command the following sets should be performed:
Behaviour
This command will set up for and call ApprovalProcessRecordsCmd.
This command calls the following TaskCommands:, ApprovalProcessRecordsCmd
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer | action
Requested action
|
protected com.ibm.commerce.ubf.event.BusinessFlowEventData | businessFlowEventData
Flow event data
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
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(com.ibm.commerce.ubf.event.BusinessFlowEventData newBusinessFlowEventData)
Sets the data structure used to process the approval.
|
public static final java.lang.String COPYRIGHT
protected com.ibm.commerce.ubf.event.BusinessFlowEventData businessFlowEventData
protected java.lang.Integer action
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setAction(java.lang.Integer newAction)
public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData newBusinessFlowEventData)