public class ProcessOrderInventoryCmdImpl extends TaskCommandImpl implements ProcessOrderInventoryCmd
ProcessOrderInventoryCmd
task command.
| Name | Description |
|---|---|
orderItem |
the orderItem that need process inventory |
action |
the action that need perform |
order |
the order that need process inventory |
SDOGetProductAvailabilityCmdImpl,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
ACTION_CANCEL_INVENTORY, ACTION_CHECK_INVENTORY, ACTION_RESERVE_INVENTORY, defaultCommandClassName, NAME| Constructor and Description |
|---|
ProcessOrderInventoryCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.ibm.commerce.inventory.datatypes.AcknowledgeOrderInventoryType |
getAcknowledgeOrderInventory()
This method gets the AcknowledgeOrderInventory
SDO |
java.lang.String |
getAction()
This method gets the action
|
OrderAccessBean |
getOrder()
This method gets the order
|
com.ibm.commerce.inventory.datatypes.OrderInventoryType |
getOrderInventory()
This method gets the orderInventory
|
OrderItemAccessBean |
getOrderItem()
This method gets the Order Item
|
void |
performExecute()
This method performs the main logic of the task command
|
void |
reset()
reset
|
void |
setAcknowledgeOrderInventory(com.ibm.commerce.inventory.datatypes.AcknowledgeOrderInventoryType argAcknowledgeOrderInventory)
This method sets the AcknowledgeOrderInventory
|
void |
setAction(java.lang.String argAction)
This method sets the action
|
void |
setOrder(OrderAccessBean argOrder)
This method sets the order
|
void |
setOrderInventory(com.ibm.commerce.inventory.datatypes.OrderInventoryType argOrderInventory)
This method sets the OrderInventory
|
void |
setOrderItem(OrderItemAccessBean argOrderItemAB)
This method sets the Order Item when canceling the inventory reservation of a single order item
|
void |
validateParameters()
Extracts and validates the input parameters of this command
implementation.
|
accessControlCheck, 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, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public void setOrderItem(OrderItemAccessBean argOrderItemAB)
setOrderItem in interface ProcessOrderInventoryCmdargOrderItemAB - public OrderItemAccessBean getOrderItem()
getOrderItem in interface ProcessOrderInventoryCmdpublic void setOrder(OrderAccessBean argOrder)
setOrder in interface ProcessOrderInventoryCmdargOrder - The iabOrder to set.public void setAction(java.lang.String argAction)
setAction in interface ProcessOrderInventoryCmdargAction - The istrAction to set.public com.ibm.commerce.inventory.datatypes.AcknowledgeOrderInventoryType getAcknowledgeOrderInventory()
SDOgetAcknowledgeOrderInventory in interface ProcessOrderInventoryCmdSDOpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - com.ibm.commerce.exception.ECException
In case of any ECExceptionpublic OrderAccessBean getOrder()
public com.ibm.commerce.inventory.datatypes.OrderInventoryType getOrderInventory()
public void setOrderInventory(com.ibm.commerce.inventory.datatypes.OrderInventoryType argOrderInventory)
argOrderInventory - The orderInventory to set.public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic java.lang.String getAction()
public void setAcknowledgeOrderInventory(com.ibm.commerce.inventory.datatypes.AcknowledgeOrderInventoryType argAcknowledgeOrderInventory)
argAcknowledgeOrderInventory - The iAcknowledgeOrder to set.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException