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.CheckInventoryCmdImpl
CheckInventory let you check inventory for items. There are two ways to check inventory.
If the check inventory fails, it throws ECApplicationException with the message key _API_BAD_INV and the error view of CheckInventoryErrorView.
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 |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.fulfillment.commands. CheckInventoryCmd |
defaultCommandClassName,
ERRTASK_NAME,
NAME |
Fields inherited from interface com.ibm.commerce.fulfillment.commands. UpdateInventoryCmd |
defaultCommandClassName,
ERRTASK_NAME,
NAME |
Fields inherited from interface com.ibm.commerce.fulfillment.commands. ReverseUpdateInventoryCmd |
defaultCommandClassName,
ERRTASK_NAME,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CheckInventoryCmdImpl() |
Method Summary | |
---|---|
void |
performExecute() The business logic for this command. |
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,
validateParameters |
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CheckInventoryCmdImpl()
Method Detail |
---|
public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface
ECCommand
performExecute
in class
InventoryBaseCmdImpl
ECException