public class ApprovalSetUpCmdImpl extends TaskCommandImpl implements ApprovalSetUpCmd
Before executing this task command, the following sets should be performed:
After executing this task command, the following should be called:
Behaviour
This command will set up for and call the ApprovalSetUpRecordsCmd.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String | approverGroupName
Approval group name.
|
protected com.ibm.commerce.ubf.event.BusinessFlowEventData | businessFlowEventData
Flow event data.
|
protected java.lang.Long | businessFlowStateId
Flow state id.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected java.lang.String | eventIdentifier
Event identifier.
|
Constructor and Description |
---|
ApprovalSetUpCmdImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getEventIdentifier()
Get the event that needs to be processed when an automatic approval is required.
|
boolean | isApprovalNeeded()
Specifies whether or not an approval is needed.
|
boolean | isReadyToCallExecute()
Check if the command is ready to be executed.
|
void | performExecute()
The main logic.
|
void | setApproverGroupName(java.lang.String newApproverGroupName)
Sets the approver group name from which the approvers are to be derived.
|
void | setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData newBusinessFlowEventData)
Sets the data related to the business flow event.
|
void | setBusinessFlowStateId(java.lang.Long newBusinessFlowStateId)
Sets the state of the business flow for this approvable action.
|
public static final java.lang.String COPYRIGHT
protected java.lang.String eventIdentifier
protected java.lang.String approverGroupName
protected com.ibm.commerce.ubf.event.BusinessFlowEventData businessFlowEventData
protected java.lang.Long businessFlowStateId
public java.lang.String getEventIdentifier()
public boolean isApprovalNeeded()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setApproverGroupName(java.lang.String newApproverGroupName)
public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData newBusinessFlowEventData)
public void setBusinessFlowStateId(java.lang.Long newBusinessFlowStateId)