java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.order.commands.PrepareOrderCmdImpl
This command prepares an order by determining prices, discounts, shipping charges, and taxes for an order.
Behaviour
The command does the following:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.order.commands. PrepareOrderCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
PrepareOrderCmdImpl() |
Method Summary | |
---|---|
protected
void |
doProcess(OrderProcessingHelper aOrderProcessingUtility) Do Processing. |
java.util.Vector |
getOrders() Gets ids of the orders to be prepared. |
void |
performExecute() Contains the actual business logic of the command. |
void |
setOrder(
OrderAccessBean abOrder) Sets the order to prepare. |
void |
setOrders(java.util.Vector newOrders) Sets ids of the orders to be prepared. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public PrepareOrderCmdImpl()
Method Detail |
---|
protected void doProcess(OrderProcessingHelper aOrderProcessingUtility) throws ECException, java.rmi.RemoteException, RemoveException, CreateException, FinderException, javax.naming.NamingException
aOrderProcessingUtility
-ECException
java.rmi.RemoteException
CreateException
javax.naming.NamingException
FinderException
RemoveException
public java.util.Vector getOrders()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
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