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. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
-
Constant Field Values
ReprepareOrderCmdImpl
public ReprepareOrderCmdImpl()
getOrders
public java.util.Vector getOrders()
- Gets ids of the orders to be reprepared.
-
- Returns:
- a vector of order access beans.
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.