public class UpdateInventoryForOrderItemsCmdImpl extends InventoryBaseCmdImpl implements UpdateInventoryForOrderItemsCmd
Calling Command: OrderProcess
Expected Behavior: Reduce the amount of inventory in stock for a list of catalog entries. /p>
If the update inventory fails, it throws ECApplicationException with the message key _API_BAD_INV and the error view of UpdateInventoryForOrderItemsErrorView.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
CHECK_INVENTORY, ERR_CHECK_INV, NO_CHECK, NO_RECOMMENDATION, NO_UPDATE, REVERSE_UPDATE_INVENTORY, UPDATE_INVENTORY
defaultCommandClassName, ERRTASK_NAME, NAME
defaultCommandClassName, ERRTASK_NAME, NAME
defaultCommandClassName, ERRTASK_NAME, NAME
defaultCommandClassName, ERRTASK_NAME, NAME
Constructor and Description |
---|
UpdateInventoryForOrderItemsCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes the main Business Logic of this Command
|
void |
validateParameters()
Validates parameters.
|
findInventory, getAllocatedQuantity, getIstrContinue, getOutOfInventoryOrderItems, isReadyToCallExecute, reset, setAllocatedQuantity, setCatEntryId, setContinue, setFulfillmentCenterId, setIstrContinue, setOrderItem, setOrderItem, setOrderItem, setQuantity, setQuantityMeasure, setReturnErrorIfNoInventory, setStoreId
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, 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
setOrderItem, setOrderItem, setOrderItem
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 performExecute() throws ECException
InventoryBaseCmdImpl
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class InventoryBaseCmdImpl
ECException
- ECCommand.performExecute()
public void validateParameters() throws ECException
InventoryBaseCmdImpl
CatEntry
and Quantity values should be associated with an OrderItem
otherwise ParameterNotFoundException
is thrownvalidateParameters
in interface ECCommand
validateParameters
in class InventoryBaseCmdImpl
ECException