public class ApprovalNotifyCmdImpl extends TaskCommandImpl implements com.ibm.commerce.ubf.commands.EntryActionCmd, ApprovalNotifyCmd, com.ibm.commerce.ubf.util.BusinessFlowConstants
Before executing this task command, the following must be ensured:
Behaviour
This command calls the following TaskCommands:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | ERRTASK_NAME
The error task name.
|
Constructor and Description |
---|
ApprovalNotifyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.ubf.event.BusinessFlowEventData | getBusinessFlowEventData()
Returns the business flow event data.
|
java.lang.Long | getEntityId()
Returns the entity ID.
|
java.lang.Object | getEntityObject()
Returns the entity object.
|
java.lang.String | getEventIdentifier()
Returns the event identifier.
|
void | performExecute()
Calls the task command which will create the notification message.
|
void | setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData newBusinessFlowEventData)
Sets the business flow event data.
|
void | setEntityId(java.lang.Long newEntityId)
Sets the entity ID.
|
void | setEntityObject(java.lang.Object newEntityObject)
Sets the entity object.
|
void | setEventIdentifier(java.lang.String newEventIdentifier)
Sets the event identifier.
|
void | validateParameters()
Verifies that EntityID and FlowID have been provided in the BusinessFlowEventData object.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String ERRTASK_NAME
public com.ibm.commerce.ubf.event.BusinessFlowEventData getBusinessFlowEventData()
public java.lang.Long getEntityId()
public java.lang.Object getEntityObject()
public java.lang.String getEventIdentifier()
public void performExecute() throws ECException
public void setBusinessFlowEventData(com.ibm.commerce.ubf.event.BusinessFlowEventData newBusinessFlowEventData)
public void setEntityId(java.lang.Long newEntityId)
public void setEntityObject(java.lang.Object newEntityObject)
public void setEventIdentifier(java.lang.String newEventIdentifier)
public void validateParameters() throws ECException