public class OrderProcessPreApprovalCmdImpl extends OrderProcessApprovalBaseCmdImpl implements OrderProcessPreApprovalCmd, com.ibm.commerce.ubf.commands.BusinessFlowCmd
OrderProcessPreApprovalCmd controller command.
| Name | Description |
|---|---|
orderId |
The orderId to be processed. |
orderFlowEntityBean.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
OrderProcessPreApprovalCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
It calls saveNVPs() to save the request properties to the database and then initializes
the instance variable orderFlowEntityBean.
|
void |
setOrderId(java.lang.Long anOrderId)
Sets the id of the order.
|
void |
setRequestProperties(TypedProperty reqParms)
The WebController calls the setRequestProperties method before invoking the execute method in this command.
|
void |
setStateIdentifier(java.lang.Integer aStateIdentifier)
Sets the state identifier.
|
void |
validateParameters()
Checks the validity of the parameters.
|
getEntityId, getEntityObject, getResources, resetgetFlowContext, getStateIdentifier, isReadyToCallExecute, setEntityId, setEntityObject, setFlowContextcheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class OrderProcessApprovalBaseCmdImplECExceptionpublic void setOrderId(java.lang.Long anOrderId)
anOrderId - order id.public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class OrderProcessApprovalBaseCmdImplreqParms - request properties.ECApplicationExceptionpublic void setStateIdentifier(java.lang.Integer aStateIdentifier)
setStateIdentifier in interface com.ibm.commerce.ubf.commands.BusinessFlowCmdsetStateIdentifier in class OrderProcessApprovalBaseCmdImplaStateIdentifier - state identifier.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class OrderProcessApprovalBaseCmdImplECApplicationException - with message key _ERR_ORDER_NOT_FOUND, if the order cannot be found in the database.ECException