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 |
SDO
GetProductAvailabilityCmdImpl
,
Serialized FormModifier 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, 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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public void setOrderItem(OrderItemAccessBean argOrderItemAB)
setOrderItem
in interface ProcessOrderInventoryCmd
argOrderItemAB
- public OrderItemAccessBean getOrderItem()
getOrderItem
in interface ProcessOrderInventoryCmd
public void setOrder(OrderAccessBean argOrder)
setOrder
in interface ProcessOrderInventoryCmd
argOrder
- The iabOrder to set.public void setAction(java.lang.String argAction)
setAction
in interface ProcessOrderInventoryCmd
argAction
- The istrAction to set.public com.ibm.commerce.inventory.datatypes.AcknowledgeOrderInventoryType getAcknowledgeOrderInventory()
SDO
getAcknowledgeOrderInventory
in interface ProcessOrderInventoryCmd
SDO
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- 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.Command
reset
in class AbstractECTargetableCommand
public 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 ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException