public class CheckInventoryAvailabilityCmdImpl extends TaskCommandImpl implements CheckInventoryAvailabilityCmd
For single level, static kits, function that was provided by this class in WebSphere Commerce versions 5.5 and 5.6 has been moved. It is moved to the AvailInvStore and AvailRADate stored procedures.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | ERR_CHECK_INV
The value set for the "errorCode" name value pair set in the ECApplicationException thrown when an item is not available.
|
protected static java.lang.String | istrPerformFunc
Deprecated.
Will be changed to private.
|
protected static java.lang.String | istrThisClass
Deprecated.
Will be changed to private.
|
Constructor and Description |
---|
CheckInventoryAvailabilityCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object[] | checkInventory(java.lang.Long anItemSpec, java.lang.Integer anQuantity, java.lang.Integer anStoreId, java.util.Vector avFFCs, java.lang.Integer anAlternativeFFC)
Check inventory availability for the itemspecification and the quanaity for the store using the fulfillment centers and the alternative fulfillment center if need be.
|
Item | getCatEntry()
Deprecated.
This method will be changed to protected.
|
java.util.Vector | getCatEntryFulfillmentCenters()
Deprecated.
This method will be changed to protected.
|
java.util.Hashtable | getOrderItemFulfillmentCentersMaps()
Deprecated.
This method will be changed to protected.
|
java.util.Enumeration | getOrderItems()
Deprecated.
This method will be changed to protected.
|
java.lang.String | getUnitOfMeasure()
Deprecated.
This method will be changed to protected.
|
void | performExecute()
Performs the actual business logic of the command.
|
void | reset()
This method should be called after a command has been executed to reset its instance variables.
|
void | setCatEntry(Item aCatEntry)
Sets the item to be checked.
|
void | setCatEntryFulfillmentCenters(java.util.Vector avCatEntryFulfillmentCenters)
Sets the list of fulfillment center identifiers for the Item specified by setCatEntry method.
|
void | setOrderItemFulfillmentCentersMaps(java.util.Hashtable newOrderItemFulfillmentCentersMaps)
Sets lists of fulfillment centers to check inventory for items specified by the setOrderItems method.
|
void | setOrderItems(java.util.Enumeration aenOrderItems)
Sets the items to be checked.
|
void | setStoreId(java.lang.Integer aStoreId)
Deprecated.
This method has no effect.
|
void | setUnitOfMeasure(java.lang.String astrUnitOfMeasure)
Sets the unit of measure for the quantity of the Item specified by the 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
protected java.lang.Object[] checkInventory(java.lang.Long anItemSpec, java.lang.Integer anQuantity, java.lang.Integer anStoreId, java.util.Vector avFFCs, java.lang.Integer anAlternativeFFC) throws ECException
public java.util.Enumeration getOrderItems()
public java.util.Hashtable getOrderItemFulfillmentCentersMaps()
public Item getCatEntry()
public java.util.Vector getCatEntryFulfillmentCenters()
public java.lang.String getUnitOfMeasure()
public void performExecute() throws ECException
public void reset()
public void setOrderItems(java.util.Enumeration aenOrderItems)
public void setOrderItemFulfillmentCentersMaps(java.util.Hashtable newOrderItemFulfillmentCentersMaps)
public void setStoreId(java.lang.Integer aStoreId)
public void setCatEntry(Item aCatEntry)
public void setCatEntryFulfillmentCenters(java.util.Vector avCatEntryFulfillmentCenters)
public void setUnitOfMeasure(java.lang.String astrUnitOfMeasure)