com.ibm.commerce.fulfillment.commands
Class UpdateInventoryForOrderItemsCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.fulfillment.commands.InventoryBaseCmdImpl
com.ibm.commerce.fulfillment.commands.UpdateInventoryForOrderItemsCmdImpl
- All Implemented Interfaces:
- CheckInventoryCmd, ECCommand, ECTargetableCommand, ReverseUpdateInventoryCmd, TaskCommand, UpdateInventoryCmd, UpdateInventoryForOrderItemsCmd
- public class UpdateInventoryForOrderItemsCmdImpl
- extends InventoryBaseCmdImpl
- implements UpdateInventoryForOrderItemsCmd
Update Inventory for order items.
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.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Fields inherited from class com.ibm.commerce.fulfillment.commands.InventoryBaseCmdImpl |
CHECK_INVENTORY, ERR_CHECK_INV, iAction, iCatEntryId, iFulfillmentCenterId, iOrderItems, iQuantity, iQuantityMeasure, iShipModeId, iStoreId, NO_CHECK, NO_RECOMMENDATION, NO_UPDATE, REVERSE_UPDATE_INVENTORY, UPDATE_INVENTORY |
Methods inherited from class com.ibm.commerce.fulfillment.commands.InventoryBaseCmdImpl |
checkUpdateInventory, convertQuantity, convertQuantity, convertQuantity, findByCatalogEntryAndFulfillmentCenterAndStore, flagIsSet, getCatEntryId, getFulfillmentCenterId, getOrderItem, getQuantity, getQuantityMeasure, isReadyToCallExecute, reset, setCatEntryId, setFulfillmentCenterId, setOrderItem, setOrderItem, setOrderItem, setQuantity, setQuantityMeasure, setStoreId |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
-
- See Also:
- Constant Field Values
UpdateInventoryForOrderItemsCmdImpl
public UpdateInventoryForOrderItemsCmdImpl()
performExecute
public void performExecute()
throws ECException
- Description copied from class: AbstractECTargetableCommand
- The business logic for this command. This method should be overwritten by all command writers. Command writers should call super.performExecute() as the first line in their method.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class InventoryBaseCmdImpl
-
- Throws:
- ECException
validateParameters
public void validateParameters()
throws ECException
- Description copied from class: AbstractECTargetableCommand
- Performs parameter checking. This method replaces checkParameters() in 5.1. The default implementation of validateParameters() is a no op. It is the responsibility of the command writers to implements this method if they want to perform server side parameter checking.
-
- Specified by:
- validateParameters in interface ECCommand
- Overrides:
- validateParameters in class InventoryBaseCmdImpl
-
- Throws:
- ECException
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.