public class OrderProcessCheckApprovalCmdImpl extends TaskCommandImpl implements OrderProcessCheckApprovalCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
OrderProcessCheckApprovalCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean | checkApproval()
This method implemented the business logic of whether the order requires approval.
|
java.lang.String | getEventIdentifier()
Allow the entry action to return an eventIdentifier to start an automatic transition.
|
void | performExecute()
Calls checkApproval() to find out if the approval is required.
|
void | reset()
Resets all instance variables.
|
void | setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData)
The BusinessFlowEventListener will use this method to pass in all data the command needs.
|
void | setEntityId(java.lang.Long anEntityId)
Allow UBF passes an entity Id to the entry action command.
|
void | setEntityObject(java.lang.Object anEntityObject)
Allow UBF passes an entity object to the entry action command to avoid instantiating another instance of entity object.
|
void | validateParameters()
Validates parameters.
|
public static final java.lang.String COPYRIGHT
public boolean checkApproval() throws ECException
public java.lang.String getEventIdentifier()
public void performExecute() throws ECException
public void reset()
public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData anEventData)
public void setEntityId(java.lang.Long anEntityId)
public void setEntityObject(java.lang.Object anEntityObject)
public void validateParameters() throws ECException