public class PrepareOrderCmdImpl extends TaskCommandImpl implements PrepareOrderCmd
PREPAREFLAGS
column in the ORDERITEMS table).DoInventoryActionCmd
to check the availability of the
products with action CHECK_INVENTORY
.
PREPAREFLAGS
column of the ORDERITEMS table).QUOTEGOODFOR
column of the STORE table. OrderCopyCmdImpl
OrderPrepareCmdImpl
PreProcessCmdImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
PrepareOrderCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getOrders()
This method gets the ids of the orders to be prepared.
|
void |
performExecute()
This method contains the actual business logic of the command.
|
void |
setOrder(OrderAccessBean abOrder)
This method sets the order to prepare.
|
void |
setOrders(java.util.Vector newOrders)
This method sets the ids of the orders to be prepared.
|
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, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public java.util.Vector getOrders()
public void performExecute() throws ECException
DoIventoryActionCmd
to get default ATP parameters,
and initialize an instance of OrderProcessingHelper
.
Then it calls doProcess(OrderProcessingHelper)
to do all the logic
in this command.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setOrder(OrderAccessBean abOrder)
setOrder
in interface PrepareOrderCmd
abOrder
- order access beanpublic void setOrders(java.util.Vector newOrders)
setOrders
in interface PrepareOrderCmd
newOrders
- java.util.Vector order identifiers