public class GetOrderLevelParameterCmdImpl extends TaskCommandImpl implements GetOrderLevelParameterCmd
GetOrderLevelParameter
command.GetOrderLevelParameterCmd
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
defaultCommandClassName, NAME
Constructor and Description |
---|
GetOrderLevelParameterCmdImpl() |
Modifier and Type | Method and Description |
---|---|
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()
This method performs the business logic for this command.
|
void |
reset()
This method is called after a command has been executed.
|
void |
setOrder(OrderAccessBean aabOrder)
Sets the order.
|
void |
setOrderItems(OrderItemAccessBean[] aabOrderItems)
Sets the orderitems.
|
void |
setUsageId(java.lang.Integer anUsageId)
Sets the calculation usage.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
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 interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
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