com.ibm.commerce.order.commands
Class OrderPrepareCmdImpl
com.ibm.commerce.order.commands.OrderPrepareCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, OrderPrepareCmd, Protectable
- public class OrderPrepareCmdImpl
- implements OrderPrepareCmd
This command prepares an order by determining prices, discounts, shipping charges, and taxes
for an order. If an order reference number is not specified, all current pending orders will
be prepared for the current customer at the given store.
Behaviour
OrderPrepare command
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
COPYRIGHT
public static final java.lang.String COPYRIGHT
OrderPrepareCmdImpl
public OrderPrepareCmdImpl()
performExecute
public void performExecute()
throws ECException
- Contains the actual business logic of the command.
- Specified by:
performExecute
in interface ECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
reSet
protected void reSet()
validateParameters
public void validateParameters()
throws ECException
- Performs server side parameter checking.
- Specified by:
validateParameters
in interface ECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-