java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.order.commands.OrderProcessCheckApprovalCmdImpl
Check if the order requires approval.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.order.commands.OrderProcessCheckApprovalCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
OrderProcessCheckApprovalCmdImpl() |
Method Summary | |
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. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public OrderProcessCheckApprovalCmdImpl()
Method Detail |
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
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.