public class CheckInventoryAvailabilityBECmdImpl extends TaskCommandImpl implements CheckInventoryAvailabilityCmd
Behaviour
The input item(s) are updated or split with available quantity, estimatedAvailabilityTime and shippingOffset information.
If the available inventory is not sufficient, then throws an exception.
For single level, the following has been moved to the AvailInvStore and AvailRADate stored procedures: static kits, function that was provided by this class in WebSphere Commerce versions 5.5 and 5.6 .
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice
|
static java.lang.String | ERR_CHECK_INV
The ERR_CHECK_INV value.
|
static java.lang.Integer | iStoreId
The storeId on whose behalf we are searching.
|
protected static java.lang.String | istrPerformFunc
The performExecute() method name.
|
protected static java.lang.String | istrThisClass
The name of this class.
|
static java.lang.String | PARTNUMBER
The PARTNUMBER string.
|
static java.lang.String | QUANTITY
The QUANTITY string.
|
static java.lang.String | STOREID
The STOREID string.
|
Constructor and Description |
---|
CheckInventoryAvailabilityBECmdImpl() |
Modifier and Type | Method and Description |
---|---|
Item | getCatEntry()
This method gets an item to check inventory for.
|
java.util.Vector | getCatEntryFulfillmentCenters()
Gets a list of fulfillment centers for an item specified by setCatEntry method.
|
java.util.Hashtable | getOrderItemFulfillmentCentersMaps()
Gets the map storing lists of fulfillment centers to check for order items.
|
java.util.Enumeration | getOrderItems()
Gets items to check for in inventory.
|
java.lang.String | getUnitOfMeasure()
Gets the unit of measure to check inventory for an item specified by setCatEntry method.
|
void | performExecute()
Contains the actual business logic of the command.
|
void | reset()
This method should be called after a command has been executed to reset its states variables.
|
void | setCatEntry(Item aCatEntry)
Sets an item to check in the inventory.
|
void | setCatEntryFulfillmentCenters(java.util.Vector avCatEntryFulfillmentCenters)
Sets a list of fulfillment centers to check for the item specified by the setCatEntry method.
|
void | setOrderItemFulfillmentCentersMaps(java.util.Hashtable ahsOrderItemFulfillmentCentersMaps)
Sets lists of fulfillment centers to check inventory for items specified by the setOrderItems method.
|
void | setOrderItems(java.util.Enumeration aenOrderItems)
Sets items to check inventory.
|
void | setStoreId(java.lang.Integer newStoreId)
Sets a store id to check the inventory.
|
void | setUnitOfMeasure(java.lang.String astrUnitOfMeasure)
Sets the unit of measure to check inventory for an item specified by setCatEntry method.
|
public static final java.lang.String COPYRIGHT
protected static java.lang.String istrThisClass
protected static java.lang.String istrPerformFunc
public static final java.lang.String ERR_CHECK_INV
public static java.lang.Integer iStoreId
public static final java.lang.String PARTNUMBER
public static final java.lang.String QUANTITY
public static final java.lang.String STOREID
public Item getCatEntry()
public java.util.Vector getCatEntryFulfillmentCenters()
public java.util.Hashtable getOrderItemFulfillmentCentersMaps()
public java.util.Enumeration getOrderItems()
public java.lang.String getUnitOfMeasure()
public void performExecute() throws ECException
public void reset()
public void setCatEntry(Item aCatEntry)
public void setCatEntryFulfillmentCenters(java.util.Vector avCatEntryFulfillmentCenters)
public void setOrderItemFulfillmentCentersMaps(java.util.Hashtable ahsOrderItemFulfillmentCentersMaps)
public void setOrderItems(java.util.Enumeration aenOrderItems)
public void setStoreId(java.lang.Integer newStoreId)
public void setUnitOfMeasure(java.lang.String astrUnitOfMeasure)