public class AllocateExpectedInventoryCmdImpl extends TaskCommandImpl implements AllocateExpectedInventoryCmd
AllocateExpectedInventory task command
interface.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
ERR_CANNOT_BACKORDER
Error Code if can not back order
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
AllocateExpectedInventoryCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getFulfillmentCenters()
Deprecated.
This method will be changed to protected
|
OrderItemAccessBean |
getOrderItem()
Deprecated.
This method will be changed to protected.
|
void |
performExecute()
Performs the actual business logic of the command.
|
void |
setFulfillmentCenters(java.util.Vector newFulfillmentCenters)
Sets a prioritized list of fulfillment centers from which the inventory should be backordered.
|
void |
setOrderItem(OrderItemAccessBean anOrderItem)
Sets the order item for which expected inventory is to be backordered.
|
void |
validateParameters()
Performs server side parameter checking.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public static final java.lang.String ERR_CANNOT_BACKORDER
public java.util.Vector getFulfillmentCenters()
public OrderItemAccessBean getOrderItem()
public void performExecute()
throws ECException
AllocateExpectedInventory task command,
expected inventory can be allocated directly from Expected Inventory Records (in the RA and RADETAIL
database tables). Or expected inventory can be allocated based on the expectation represented by the
defaultBackorderOffset Store attribute. When more than one fulfillment center can provide the earliest
expected availability time, preference is given to those allocating inventory directly from
Expected Inventory Records.
AllocateExpectedInventory task command
calls the backorderitem database stored procedure.
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void setFulfillmentCenters(java.util.Vector newFulfillmentCenters)
setFulfillmentCenters in interface AllocateExpectedInventoryCmdnewFulfillmentCenters - a prioritized list of fulfillment center identifiers (Vector of Integer).public void setOrderItem(OrderItemAccessBean anOrderItem)
setOrderItem in interface AllocateExpectedInventoryCmdanOrderItem - the order item to be backordered.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException - thrown when the order item or the fulfillment centers have not been set.