com.ibm.commerce.order.calculation
Class SetOrderLevelParameterCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.order.calculation.SetOrderLevelParameterCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, SetOrderLevelParameterCmd, TaskCommand
- public class SetOrderLevelParameterCmdImpl
- extends TaskCommandImpl
- implements SetOrderLevelParameterCmd
Reserved for IBM internal use.
This is the default implementation of the SetOrderLevelParameter command.
- See Also:
- SetOrderLevelParameterCmd, Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
void |
performExecute()
The business logic for this command. |
void |
reset()
This method should be called after a command has been executed to reset its states variables. |
void |
setAmount(java.math.BigDecimal adAmount)
Sets the amount. |
void |
setOrder(OrderAccessBean aabOrder)
Sets the order. |
void |
setOrderItems(OrderItemAccessBean[] aabOrderItems)
Sets the orderitems. |
void |
setOverride(boolean abOverride)
Sets whether the directly attached calculation codes will override the indirectly attached calculation codes and the default calculation code. |
void |
setType(java.lang.Integer anType)
Sets the parameter type: 2 - percentage 3 - fixed |
void |
setUsageId(java.lang.Integer anUsageId)
|
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, 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
-
- See Also:
- Constant Field Values
SetOrderLevelParameterCmdImpl
public SetOrderLevelParameterCmdImpl()
performExecute
public void performExecute()
throws ECException
- Description copied from class: AbstractECTargetableCommand
- The business logic for this command. This method should be overwritten by all command writers. Command writers should call super.performExecute() as the first line in their method.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException
reset
public void reset()
- Description copied from class: AbstractECTargetableCommand
- This method should be called after a command has been executed to reset its states variables. After the call to reset, we should be able to execute the command again.
-
- Overrides:
- reset in class AbstractECTargetableCommand
setAmount
public void setAmount(java.math.BigDecimal adAmount)
- Description copied from interface: SetOrderLevelParameterCmd
- Sets the amount.
-
- Specified by:
- setAmount in interface SetOrderLevelParameterCmd
setOrder
public void setOrder(OrderAccessBean aabOrder)
- Description copied from interface: SetOrderLevelParameterCmd
- Sets the order.
-
- Specified by:
- setOrder in interface SetOrderLevelParameterCmd
setOrderItems
public void setOrderItems(OrderItemAccessBean[] aabOrderItems)
- Description copied from interface: SetOrderLevelParameterCmd
- Sets the orderitems.
-
- Specified by:
- setOrderItems in interface SetOrderLevelParameterCmd
setOverride
public void setOverride(boolean abOverride)
- Description copied from interface: SetOrderLevelParameterCmd
- Sets whether the directly attached calculation codes will override the indirectly attached calculation codes and the default calculation code.
-
- Specified by:
- setOverride in interface SetOrderLevelParameterCmd
setType
public void setType(java.lang.Integer anType)
- Description copied from interface: SetOrderLevelParameterCmd
- Sets the parameter type:
-
- Specified by:
- setType in interface SetOrderLevelParameterCmd
setUsageId
public void setUsageId(java.lang.Integer anUsageId)
-
- Specified by:
- setUsageId in interface SetOrderLevelParameterCmd
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.