com.ibm.commerce.order.commands
Class ReprepareOrderCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.order.commands.ReprepareOrderCmdImpl
- All Implemented Interfaces:
- ECCommand, ReprepareOrderCmd, TaskCommand
- public class ReprepareOrderCmdImpl
- extends TaskCommandImpl
- implements ReprepareOrderCmd
Re-calculates shipping charges and taxes, and locks the order.
Behaviour
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.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
istrCheckParametersFunc
protected static java.lang.String istrCheckParametersFunc
istrIsReadyToCallExecuteFunc
protected static java.lang.String istrIsReadyToCallExecuteFunc
istrPerformFunc
protected static java.lang.String istrPerformFunc
ivabOrders
protected java.util.Vector ivabOrders
ReprepareOrderCmdImpl
public ReprepareOrderCmdImpl()
getOrders
public java.util.Vector getOrders()
- Gets ids of the orders to be reprepared.
performExecute
public void performExecute()
throws ECException
- Contains the actual business logic of the command.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setOrder
public void setOrder(OrderAccessBean abOrder)
- Sets the order to reprepare.
- Specified by:
setOrder
in interface ReprepareOrderCmd
setOrders
public void setOrders(java.util.Vector newOrders)
- Sets ids of the orders to be reprepared.
- Specified by:
setOrders
in interface ReprepareOrderCmd
- Following copied from interface:
com.ibm.commerce.order.commands.ReprepareOrderCmd
- Parameters:
newOrderId
- java.util.Vector order identifiers