com.ibm.commerce.fulfillment.commands
Interface GetEligibleFulfillmentCentersCmd

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

public interface GetEligibleFulfillmentCentersCmd
extends TaskCommand

For each input item, returns a list of fulfillment centers (ordered in sequence of descending preference from first to last) that could ship that item if there was sufficient inventory.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class.
static java.lang.String NAME
           
 
Method Summary
 java.util.Vector getFulfillmentCenters()
          Returns a list of fulfillment centers that could ship an item specified by the setOrderItem method.
 java.util.Hashtable getOrderItemFulfillmentCentersMaps()
          Gets lists of fulfillment centers which can ship items specified by the setOrderItems method.
 void setAllOrderItems(java.util.Vector newAllOrderItems)
          Sets all order items to be considered when determining fulfillment centers.
 void setOrderItem(Item anOrderItemData)
          Sets the item (with specified catalog entry id) for which eligible fulfillment centers are to be determined.
 void setOrderItems(java.util.Vector newOrderItems)
          Sets the order items for which eligible fulfillment centers are to be determined.
 void setPreferredFulfillmentCenterId(java.lang.Integer newPreferredFulfillmentCenterId)
          Sets the fulfillment center preference to ship order items with pending status from.
 
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
The default implementation class.

NAME

public static final java.lang.String NAME
Method Detail

getFulfillmentCenters

public java.util.Vector getFulfillmentCenters()
Returns a list of fulfillment centers that could ship an item specified by the setOrderItem method.

getOrderItemFulfillmentCentersMaps

public java.util.Hashtable getOrderItemFulfillmentCentersMaps()
Gets lists of fulfillment centers which can ship items specified by the setOrderItems method.

setAllOrderItems

public void setAllOrderItems(java.util.Vector newAllOrderItems)
Sets all order items to be considered when determining fulfillment centers. Normally this is all the order items in an order.

setOrderItem

public void setOrderItem(Item anOrderItemData)
Sets the item (with specified catalog entry id) for which eligible fulfillment centers are to be determined.

setOrderItems

public void setOrderItems(java.util.Vector newOrderItems)
Sets the order items for which eligible fulfillment centers are to be determined.

setPreferredFulfillmentCenterId

public void setPreferredFulfillmentCenterId(java.lang.Integer newPreferredFulfillmentCenterId)
Sets the fulfillment center preference to ship order items with pending status from.