public class SalesOrderPreprocessCmdImpl extends ControllerCommandImpl implements SalesOrderPreprocessCmd
SalesOrderPreprocessCmd.
| Name | Description |
|---|---|
orderId |
the order ID |
customerId |
the customer ID |
| ... | Other order related information |
orderIdServiceAdjustShippingChargesCmdResolveOrdersCmdAdminOrderItemUpdateCmdAddressAddCmdShipInfoUpdateCmdOrderPrepareCmdOrderCalculateCmd| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright string.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
SalesOrderPreprocessCmdImpl()
SalesOrderPreprocessCmdImpl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCustomerId()
Returns the customer ID.
|
java.lang.Long |
getOrderId()
Returns the order ID.
|
void |
performExecute()
Performs the main business logic of this command.
|
void |
reset()
Resets this command implementation instance.
|
void |
setRequestProperties(TypedProperty reqProperties)
Sets the request properties.
|
void |
validateParameters()
Validates the input parameters.
|
checkPermission, 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, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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 SalesOrderPreprocessCmdImpl()
public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqProperties - the request properties.ECExceptionControllerCommand.setRequestProperties(com.ibm.commerce.datatype.TypedProperty)public java.lang.Long getCustomerId()
public java.lang.Long getOrderId()
public void performExecute()
throws ECException
setStatus(OrderConstants.ORDER_EDITED)callAddressAdd()callAdminOrderItemUpdate()callOrderCalculate()deleteOldServiceAdjustments()callShipInfoUpdate()callServiceAdjustShippingCharges()callOrderPrepare()setStatus(OrderConstants.ORDER_SUBMITTED)setTransferStatus(OrderConstants.ORDER_PROCESSING)setResponseProperties()clearCaches().performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionTargetableCommand.performExecute()public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionECCommand.validateParameters()