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
           
 
Fields inherited from interface com.ibm.commerce.order.commands.OrderPrepareCmd
NAME
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Constructor Summary
OrderPrepareCmdImpl()
           
 
Method Summary
 void performExecute()
          Contains the actual business logic of the command.
protected  void reSet()
           
 void validateParameters()
          Performs server side parameter checking.
 
Methods inherited from interface com.ibm.commerce.order.commands.OrderPrepareCmd
setOrderId, setOutOrderIds
 
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.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

OrderPrepareCmdImpl

public OrderPrepareCmdImpl()
Method Detail

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. -