public class SetOrderItemFulfillmentCenterCmdImpl extends TaskCommandImpl implements SetOrderItemFulfillmentCenterCmd
SetOrderItemFulfillmentCenterCmdImpl Task Command Implementation is called by
the AssignToSpecifiedFulfillmentCenterCmd Controller Command to set the
fulfillment center of the specified order items and allocate inventory for the items.
This command implementation of the SetOrderItemFulfillmentCenterCmd Task Command assumes that there is no change to the tax and shipping charges to the items. Because the fulfillment center changes.
This command uses the following AccessBean:
This command calls the following TaskCommands:
This command uses the following AccessBeans:defaultCommandClassName, NAME| Constructor and Description |
|---|
SetOrderItemFulfillmentCenterCmdImpl()
SetOrderItemFulfillmentCenterCmdImpl default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
Performs the main business logic of the command.
|
void |
reset()
Resets the instance variables of the command.
|
void |
setFulfillmentCenterIds(java.util.Vector avFFMCenterIds)
Sets the fulfillment center ID parameters.
|
void |
setOrderItems(java.util.Vector avOrderItems)
Sets the OrderItems parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, 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, setDefaultProperties, validateParameterspublic SetOrderItemFulfillmentCenterCmdImpl()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException.ECExceptionpublic void reset()
This is useful if the command instance is to be called multiple times with different command parameters.
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setOrderItems(java.util.Vector avOrderItems)
Specifies a Vector of OrderItemAccessBeans representing the order items whose fulfillment center ID attributes are to be updated. It is set to the corresponding fulfillment center ID specified by the fulfillment center ID parameters.
This is a mandatory parameter. If there are more OrderItemAccessBean parameters than fulfillment center ID parameters the extra order items are not changed.
setOrderItems in interface SetOrderItemFulfillmentCenterCmdavOrderItems - The Vector containing the OrderItemAccessBeans.public void setFulfillmentCenterIds(java.util.Vector avFFMCenterIds)
This is a mandatory parameter. If there are more fulfillment center ID parameters than OrderItemAccessBean parameters the extra fulfillment center ID parameters are ignored.
setFulfillmentCenterIds in interface SetOrderItemFulfillmentCenterCmdavFFMCenterIds - The Vector containing the String representation of the fulfillment
center IDs that are to be used to set the fulfillment center ID attribute of the corresponding
order items.