public class OrderItemStatusCmdImpl extends TaskCommandImpl implements OrderItemStatusCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
protected java.lang.String | iMerchantItemNumber
The merchant order item number
|
protected java.lang.String | iMerchantOrderNumber
The merchant order number
|
protected java.lang.Long | iOrderId
The order ID identifying this order.
|
protected java.lang.Long | iOrderItemId
The order item ID identifying this order item.
|
static java.lang.String | itemCmdName
The command name that handles the status updates for the items belonging to an order.
|
protected TypedProperty | oiProp
The order item property for this order item.
|
Constructor and Description |
---|
OrderItemStatusCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void | createOrderItemStatus()
This method creates a new entry in the ORDISTAT table based on the given information received through the request properties.
|
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 determines whether this order item is new or not.
|
boolean | isReadyToCallExecute()
This method indicates whether the command is ready to execute.
|
protected boolean | isValidWCSOrderItemStatus(java.lang.String status)
Check whether the status is a valid WCS order item status (R, S, X, D, C, E) after order is submitted.
|
void | performExecute()
This method performs a precondition check on the request properties.
|
void | propertySet(OrderFulfillmentItemStatusAccessBean ab, TypedProperty aProp)
This method fills the OrderFulfillmentItemStatusAccessBean object with the values that are found in the request properties.
|
void | setOrderItemStatusProperties(TypedProperty aRequestProperties)
This method binds the parameters received by the request properties to variables that are used for determining the order item to update.
|
protected void | syncStatusForWCSOrderItem(OrderItemAccessBean orderItemAB, java.lang.String status)
This method updates the ORDERITEMS table by the input status.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String itemCmdName
protected TypedProperty oiProp
protected java.lang.Long iOrderId
protected java.lang.String iMerchantOrderNumber
protected java.lang.Long iOrderItemId
protected java.lang.String iMerchantItemNumber
public void createOrderItemStatus() throws ECException
public boolean doPostProcess(TypedProperty aRequestProperty) throws ECException
public boolean doPreProcess(TypedProperty aRequestProperty) throws ECException
public boolean doProcess(TypedProperty aRequestProperty) throws ECException
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void propertySet(OrderFulfillmentItemStatusAccessBean ab, TypedProperty aProp) throws ECException
public void setOrderItemStatusProperties(TypedProperty aRequestProperties) throws ECException
protected void syncStatusForWCSOrderItem(OrderItemAccessBean orderItemAB, java.lang.String status) throws ECException
protected boolean isValidWCSOrderItemStatus(java.lang.String status)