public class CalculatePriceElementCmdImpl extends PriceRuleElementCmdImpl implements CalculatePriceElementCmd
markup
or markdown
result based on an input
offer price.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName
Constructor and Description |
---|
CalculatePriceElementCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpressionByEquationId(java.lang.String priceEquationId)
This method will retrieve expression from equation.
|
void |
performExecute()
The main logic to execute the command.
|
java.util.List |
validateParameters(java.util.Map elementParameters)
This method performs validations.
|
getCatentryId, getCurrency, getElementId, getElementParameters, getPriceRule, getQuantity, getReturnedObject, getRuntimeParametersMap, getUom, isReadyToCallExecute, setCatentryId, setCurrency, setElementId, setElementParameters, setPriceRule, setQuantity, setReturnedObject, setRuntimeParametersMap, setUom
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, reset, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCatentryId, getCurrency, getElementId, getElementParameters, getPriceRule, getQuantity, getReturnedObject, getRuntimeParametersMap, getUom, setCatentryId, setCurrency, setElementId, setElementParameters, setPriceRule, setQuantity, setReturnedObject, setRuntimeParametersMap, setUom
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void performExecute() throws java.lang.Exception
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class PriceRuleElementCmdImpl
java.lang.Exception
public java.util.List validateParameters(java.util.Map elementParameters)
validateParameters
in interface PriceRuleElementCmd
validateParameters
in class PriceRuleElementCmdImpl
elementParameters
- public java.lang.String getExpressionByEquationId(java.lang.String priceEquationId) throws DataMediatorException
priceEquationId
- The price equation id. It can't be null or empty.DataMediatorException