public interface CheckInventoryCmd extends TaskCommand
If the check inventory fails, it throws ECApplicationException with the message key _API_BAD_INV and the error view of CheckInventoryErrorView.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
defaultCommandClassName |
static java.lang.String |
ERRTASK_NAME |
static java.lang.String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getOutOfInventoryOrderItems()
Get out of stock order items
|
void |
setCatEntryId(java.lang.Long aCatEntryId)
Set a Catalog Entry Id to check the inventory.
|
void |
setContinue(java.lang.String aContinue)
set the value of Continue
|
void |
setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
Set a fulfillment center Id to check the inventory.
|
void |
setOrderItem(OrderItemAccessBean anOrderItem)
Set an OrderItem to check the inventory.
|
void |
setOrderItem(OrderItemAccessBean[] orderItems)
Set a list of OrderItems to check the inventory.
|
void |
setOrderItem(java.util.Vector anOrderItemList)
Set a list of OrderItems to check the inventory.
|
void |
setQuantity(java.lang.Double aQuantity)
Set a quantity to check the inventory.
|
void |
setQuantityMeasure(java.lang.String quantityMeasure)
Set a quantity measure to check the inventory (optional).
|
void |
setReturnErrorIfNoInventory(boolean returnError)
Set if error should be returned if items are out of stock
|
void |
setStoreId(java.lang.Integer aStoreId)
Set a store id to check the inventory.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersstatic final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String ERRTASK_NAME
void setCatEntryId(java.lang.Long aCatEntryId)
void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
void setOrderItem(OrderItemAccessBean[] orderItems)
void setOrderItem(OrderItemAccessBean anOrderItem)
void setOrderItem(java.util.Vector anOrderItemList)
void setQuantity(java.lang.Double aQuantity)
void setQuantityMeasure(java.lang.String quantityMeasure)
void setStoreId(java.lang.Integer aStoreId)
void setReturnErrorIfNoInventory(boolean returnError)
java.util.Vector getOutOfInventoryOrderItems()
void setContinue(java.lang.String aContinue)