public interface OrderItemStatusCmd extends TaskCommand
OrderItemStatus
command. This command processes the status
message that the backend system creates when any change occurs to
items belonging to an order. This command is usually called by the
order status command.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
static java.lang.String |
defaultCommandClassName
The default class containing the implementation of the
OrderItemStatus command. |
static java.lang.String |
NAME
The name of the class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
doPostProcess(TypedProperty aRequestProperty)
This method performs a verification check after the command executes.
|
boolean |
doPreProcess(TypedProperty aRequestProperty)
This method performs a verification check before the command executes.
|
boolean |
doProcess(TypedProperty aRequestProperty)
This method performs the proper business logic for the
OrderItemStatus command. |
void |
setOrderItemStatusProperties(TypedProperty aRequestProperties)
Binds the parameters received by the request properties to variables that are used
for determining the order item to update.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
OrderItemStatus
command.boolean doPostProcess(TypedProperty aRequestProperty) throws ECException
aRequestProperty
- Parameters used to aid the checkingECException
- Raised when the checking raises any exceptions.boolean doPreProcess(TypedProperty aRequestProperty) throws ECException
aRequestProperty
- Parameters used to aid the checkingECException
- Raised when the checking raises any exceptionsboolean doProcess(TypedProperty aRequestProperty) throws ECException
OrderItemStatus
command.aRequestProperty
- Input parametersECException
- Raised if the update failsvoid setOrderItemStatusProperties(TypedProperty aRequestProperties) throws ECException
aRequestProperty
- name-value pair containing the input parameters
key orderId is mapped to variable iOrderId
key merchantOrderNumber is mapped to iMerchantOrderNumber
key orderItemId is mapped to variable iOrderItemId
key merchantItemNumber is mapped to variable iMerchantitemNumberECException
- Raised when any of the required parameters are missing