public class ApprovalNotifyCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements 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.
|
NAME
defaultCommandClassName, NAME
EC_APPLICATION_DEPENDENT, EC_APPROVAL, EC_APPROVAL_STATUS_CLASS, EC_APPROVAL_STATUS_DONE, EC_APPROVAL_STATUS_PENDING, EC_BUSINESS_FLOW_EVENT_IDENTIFIER, EC_CHILD_PROCESS, EC_COMMENTS, EC_COMPOSITE_FLOW, EC_ENTITY_ID, EC_ENTITY_OBJECT, EC_ERROR_VIEW, EC_FLOWCONTEXT, EC_FLOWDOMAIN_ID, EC_FLOWDOMAIN_IDENTIFIER, EC_FLOWID, EC_FLOWSTAGES, EC_FLOWTYPE_ID, EC_FLOWTYPE_IDENTIFIER, EC_MULTIROUND, EC_MULTISTAGE, EC_NO_APPROVAL, EC_NO_EVENT, EC_NO_SPAWNING, EC_NULL_EVENT, EC_NULLSTRING, EC_PRE_EXISTING_ENTITY_ID, EC_REJCET, EC_RESOURCE, EC_RESOURCE_ID, EC_RESOURCE_ID_DEFAULT, EC_RESOURCE_ID_NAME, EC_START_STATE, EC_UBF_ERROR, EC_UBF_FINAL_STATE, EC_UBF_GENERIC_ERROR_TASK, EC_UBF_NORMAL, EC_UBF_NORMAL_STATE, EC_UBF_START_STATE, EC_VERSIONING, FLOW_COMPOSE_TABLE, FLOW_DESCRIPTION_TABLE, FLOW_DOMAIN_DESCRIPTION_TABLE, FLOW_DOMAIN_TABLE, FLOW_INSTANCE_TABLE, FLOW_STATE_DESCRIPTION_TABLE, FLOW_STATE_GROUP_DESCRIPTION_TABLE, FLOW_STATE_GROUP_TABLE, FLOW_STATE_REL_TABLE, FLOW_STATE_TABLE, FLOW_TABLE, FLOW_TYPE_DESCRIPTION_TABLE, FLOW_TYPE_TABLE, TEXT_SEPARATOR, TRANSITION_DESCRIPTION_TABLE, TRANSITION_TABLE
Constructor and Description |
---|
ApprovalNotifyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
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(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.
|
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, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String ERRTASK_NAME
public BusinessFlowEventData getBusinessFlowEventData()
public java.lang.Long getEntityId()
public java.lang.Object getEntityObject()
public java.lang.String getEventIdentifier()
getEventIdentifier
in interface EntryActionCmd
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
com.ibm.commerce.exception.ECException
- If an error occurs while calling ApproversNotifyCmd.public void setBusinessFlowEventData(BusinessFlowEventData newBusinessFlowEventData)
setBusinessFlowEventData
in interface EntryActionCmd
newBusinessFlowEventData
- BusinessFlowEventDataEntryActionCmd
public void setEntityId(java.lang.Long newEntityId)
setEntityId
in interface EntryActionCmd
newEntityId
- entity ID.EntryActionCmd
public void setEntityObject(java.lang.Object newEntityObject)
setEntityObject
in interface EntryActionCmd
newEntityObject
- entity objectEntryActionCmd
public void setEventIdentifier(java.lang.String newEventIdentifier)
newEventIdentifier
- event identifierpublic void validateParameters() throws com.ibm.commerce.exception.ECException
validateParameters
in interface com.ibm.commerce.command.ECCommand
validateParameters
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- If an error is found while verifying parameters.