public class SalesOrderPreprocessCmdImpl extends ControllerCommandImpl implements SalesOrderPreprocessCmd
SalesOrderPreprocessCmd
.
Name | Description |
---|---|
orderId |
the order ID |
customerId |
the customer ID |
... | Other order related information |
orderId
ServiceAdjustShippingChargesCmd
ResolveOrdersCmd
AdminOrderItemUpdateCmd
AddressAddCmd
ShipInfoUpdateCmd
OrderPrepareCmd
OrderCalculateCmd
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, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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 SalesOrderPreprocessCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqProperties
- the request properties.ECException
ControllerCommand.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 ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
TargetableCommand.performExecute()
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
ECCommand.validateParameters()