com.ibm.commerce.fulfillment.commands
Interface CheckInventoryAvailabilityCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
CheckInventoryAvailabilityCmdImpl

public interface CheckInventoryAvailabilityCmd
extends TaskCommand

Checks that either there is sufficient existing inventory for a list of items, or that they could be backordered.

Returns an estimated availability time and shipping offset.

Determines whether a Store can accept items for specified quantities of CatalogEntries, given a prioritized list of fulfillment centers for each one.

There are two ways to check inventory.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 void setCatEntry(Item aCatEntry)
          Sets an item to check the inventory.
 void setCatEntryFulfillmentCenters(java.util.Vector avCatEntryFulfillmentCenters)
          Sets a list of fulfillment centers for an item specified by 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 aStoreId)
          Set 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.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

setCatEntry

public void setCatEntry(Item aCatEntry)
Sets an item to check the inventory.
Parameters:
aCatEntry - Item representing the catalog entry and quantity to check inventory.

setCatEntryFulfillmentCenters

public void setCatEntryFulfillmentCenters(java.util.Vector avCatEntryFulfillmentCenters)
Sets a list of fulfillment centers for an item specified by setCatEntry method.
Parameters:
avCatEntryFulfillmentCenters - list of fulfillment centers.

setOrderItemFulfillmentCentersMaps

public void setOrderItemFulfillmentCentersMaps(java.util.Hashtable ahsOrderItemFulfillmentCentersMaps)
Sets lists of fulfillment centers to check inventory for items specified by the setOrderItems method.
Parameters:
ahsOrderItemFulfillmentCentersMaps - lists of fulfillment centers keyed by the order item id

setOrderItems

public void setOrderItems(java.util.Enumeration aenOrderItems)
Sets items to check inventory. Each item has an associated prioritized list of fulfillment centers where the check should be made specified by the setOrderItemFulfillmentCentersMaps method.
Parameters:
aenOrderItems - items to check inventory

setStoreId

public void setStoreId(java.lang.Integer aStoreId)
Set a store id to check the inventory.

setUnitOfMeasure

public void setUnitOfMeasure(java.lang.String astrUnitOfMeasure)
Sets the unit of measure to check inventory for an item specified by setCatEntry method.
Parameters:
astrUnitOfMeasure - unit of measure.