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, reset
getFlowContext, getStateIdentifier, isReadyToCallExecute, setEntityId, setEntityObject, setFlowContext
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class OrderProcessApprovalBaseCmdImpl
ECException
public void setOrderId(java.lang.Long anOrderId)
anOrderId
- order id.public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class OrderProcessApprovalBaseCmdImpl
reqParms
- request properties.ECApplicationException
public void setStateIdentifier(java.lang.Integer aStateIdentifier)
setStateIdentifier
in interface com.ibm.commerce.ubf.commands.BusinessFlowCmd
setStateIdentifier
in class OrderProcessApprovalBaseCmdImpl
aStateIdentifier
- state identifier.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class OrderProcessApprovalBaseCmdImpl
ECApplicationException
- with message key _ERR_ORDER_NOT_FOUND, if the order cannot be found in the database.ECException