com.ibm.commerce.order.commands
Class ReprepareOrderCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.order.commands.ReprepareOrderCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, ReprepareOrderCmd, TaskCommand

public class ReprepareOrderCmdImpl
extends TaskCommandImpl
implements ReprepareOrderCmd

Re-calculates shipping charges and taxes, and locks the order.

Behaviour

See Also:
Serialized Form

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. ReprepareOrderCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
ReprepareOrderCmdImpl()
           
 
Method Summary
 java.util.Vector getOrders()
          Gets ids of the orders to be reprepared.
 void performExecute()
          Contains the actual business logic of the command.
 void setOrder( OrderAccessBean abOrder)
          Sets the order to reprepare.
 void setOrders(java.util.Vector newOrders)
          Sets ids of the orders to be reprepared.
 
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
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

ReprepareOrderCmdImpl

public ReprepareOrderCmdImpl()
Method Detail

getOrders

public java.util.Vector getOrders()
Gets ids of the orders to be reprepared.
Returns:
a vector of order access beans.

performExecute

public void performExecute()
                    throws ECException
Contains the actual business logic of the command.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException

setOrder

public void setOrder(OrderAccessBean abOrder)
Sets the order to reprepare.
Specified by:
setOrder in interface ReprepareOrderCmd
Parameters:
abOrder - order access bean.

setOrders

public void setOrders(java.util.Vector newOrders)
Sets ids of the orders to be reprepared.
Specified by:
setOrders in interface ReprepareOrderCmd
Parameters:
newOrders - a vector of order access beans.