|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.fulfillment.commands.AllocateExistingInventoryCmdImpl
Allocates existing inventory for a particular order item at a particular fulfillment center.
Behaviour
The behaviour of the command is:
Field Summary | |
static java.lang.String |
COPYRIGHT
|
protected static java.lang.String |
istrCheckParametersFunc
|
protected static java.lang.String |
istrPerformFunc
|
protected static java.lang.String |
istrThisClass
|
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.fulfillment.commands.AllocateExistingInventoryCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
AllocateExistingInventoryCmdImpl()
|
Method Summary | |
java.util.Vector |
getFulfillmentCenters()
Gets a prioritized list of fulfillment centers from which the inventory should be allocated. |
java.lang.Integer |
getNextStrategy()
Gets the next allocation strategy set by the command. |
OrderItemAccessBean |
getOrderItem()
Gets the order item for which existing inventory is to be allocated. |
java.lang.Integer |
getStrategy()
Gets the next allocation strategy set by the command. |
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 |
setFulfillmentCenters(java.util.Vector newFulfillmentCenters)
Sets a prioritized list of fulfillment centers from which the inventory should be allocated. |
void |
setNextStrategy(java.lang.Integer newNextStrategy)
Sets the next allocation strategy. |
void |
setOrderItem(OrderItemAccessBean newOrderItem)
Sets the order item for which existing inventory is to be allocated. |
void |
setStrategy(java.lang.Integer newStrategy)
Sets allocation strategy to be used. |
void |
validateParameters()
Performs server side parameter checking. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Field Detail |
public static final java.lang.String COPYRIGHT
protected static java.lang.String istrCheckParametersFunc
protected static java.lang.String istrPerformFunc
protected static java.lang.String istrThisClass
Constructor Detail |
public AllocateExistingInventoryCmdImpl()
Method Detail |
public java.util.Vector getFulfillmentCenters()
public java.lang.Integer getNextStrategy()
getNextStrategy
in interface AllocateExistingInventoryCmd
public OrderItemAccessBean getOrderItem()
public java.lang.Integer getStrategy()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.public void reset()
reset
in class AbstractECCommand
public void setFulfillmentCenters(java.util.Vector newFulfillmentCenters)
setFulfillmentCenters
in interface AllocateExistingInventoryCmd
public void setNextStrategy(java.lang.Integer newNextStrategy)
public void setOrderItem(OrderItemAccessBean newOrderItem)
setOrderItem
in interface AllocateExistingInventoryCmd
public void setStrategy(java.lang.Integer newStrategy)
setStrategy
in interface AllocateExistingInventoryCmd
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECCommand
com.ibm.commerce.command.ECCommand
ECException.
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |