com.ibm.commerce.fulfillment.commands
Interface AllocateExistingInventoryCmd

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

public interface AllocateExistingInventoryCmd
extends TaskCommand

Allocates existing inventory for a particular order item at a particular fulfillment center.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class.
static java.lang.String NAME
           
 
Method Summary
 java.lang.Integer getNextStrategy()
          Gets the next allocation strategy set by the command.
 void setFulfillmentCenters(java.util.Vector newFulfillmentCenters)
          Sets a prioritized list of fulfillment centers from which the inventory should be allocated.
 void setOrderItem(OrderItemAccessBean anOrderItem)
          Sets the order item for which existing inventory is to be allocated.
 void setStrategy(java.lang.Integer newStrategy)
          Sets allocation strategy to be used.
 
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

getNextStrategy

public java.lang.Integer getNextStrategy()
Gets the next allocation strategy set by the command.

setFulfillmentCenters

public void setFulfillmentCenters(java.util.Vector newFulfillmentCenters)
Sets a prioritized list of fulfillment centers from which the inventory should be allocated.

setOrderItem

public void setOrderItem(OrderItemAccessBean anOrderItem)
Sets the order item for which existing inventory is to be allocated.

setStrategy

public void setStrategy(java.lang.Integer newStrategy)
Sets allocation strategy to be used. Zero must be an acceptable value.