java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.order.calculation.GetOrderLevelParameterCmdImpl
Reserved for IBM Internal use.
This is the default implementation of the
GetOrderLevelParameter
command.
GetOrderLevelParameterCmd
,
Serialized
Form
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.order.calculation. GetOrderLevelParameterCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
GetOrderLevelParameterCmdImpl() |
Method Summary | |
---|---|
java.math.BigDecimal |
getAmount() Gets the adjustment amount. |
java.lang.Integer |
getType() Returns the parameter type: 2 - percentage 3 - fixed |
boolean |
isOverride() Returns whether the directly attached calculation codes will override the indirectly attached calculation codes and the default calculation code. |
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 |
setOrder(
OrderAccessBean aabOrder) Sets the order. |
void |
setOrderItems(
OrderItemAccessBean[] aabOrderItems) Sets the orderitems. |
void |
setUsageId(java.lang.Integer anUsageId) Sets the calculation usage. |
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public GetOrderLevelParameterCmdImpl()
Method Detail |
---|
public java.math.BigDecimal getAmount()
GetOrderLevelParameterCmd
getAmount
in interface
GetOrderLevelParameterCmd
public java.lang.Integer getType()
GetOrderLevelParameterCmd
getType
in interface
GetOrderLevelParameterCmd
public boolean isOverride()
GetOrderLevelParameterCmd
isOverride
in interface
GetOrderLevelParameterCmd
public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in class
AbstractECTargetableCommand
public void setOrder(OrderAccessBean aabOrder)
GetOrderLevelParameterCmd
setOrder
in interface
GetOrderLevelParameterCmd
public void setOrderItems(OrderItemAccessBean[] aabOrderItems)
GetOrderLevelParameterCmd
setOrderItems
in interface
GetOrderLevelParameterCmd
public void setUsageId(java.lang.Integer anUsageId)
GetOrderLevelParameterCmd
setUsageId
in interface
GetOrderLevelParameterCmd