public interface PriceRuleElementCmd
extends com.ibm.websphere.command.CacheableCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
Default implementation class for this command.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatentryId()
Get catalog entry id.
|
java.lang.String |
getCurrency()
Get currency.
|
java.lang.String |
getElementId()
Get element id.
|
java.util.Map |
getElementParameters()
This method gets the parameters.
|
com.ibm.commerce.price.rule.runtime.objects.PriceRuleObject |
getPriceRule()
Get price rule.
|
java.lang.Double |
getQuantity()
Get quantity.
|
java.util.Map |
getReturnedObject()
Get returned object.
|
java.util.Map |
getRuntimeParametersMap()
Get runtime parameters map.
|
java.lang.String |
getUom()
Get UOM.
|
void |
setCatentryId(java.lang.String catentryId)
Set catalog entry id.
|
void |
setCurrency(java.lang.String currency)
Set currency.
|
void |
setElementId(java.lang.String elementId)
Set element id.
|
void |
setElementParameters(java.util.Map parameters)
This method sets the parameters associated with the element.
|
void |
setPriceRule(com.ibm.commerce.price.rule.runtime.objects.PriceRuleObject priceRule)
Set the price rule.
|
void |
setQuantity(java.lang.Double quantity)
Set quantity.
|
void |
setReturnedObject(java.util.Map returnedObject)
Set returned object.
|
void |
setRuntimeParametersMap(java.util.Map runtimeParametersMap)
Set runtime parameters map.
|
void |
setUom(java.lang.String uom)
Set UOM.
|
java.util.List |
validateParameters(java.util.Map elementParameters)
Validate the parameters.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
void setElementParameters(java.util.Map parameters)
PRELEMENTATTR
database table.parameters
- The name value pairs available to the task command
implementation. It can't be null.java.util.Map getElementParameters()
java.util.List validateParameters(java.util.Map elementParameters)
elementParameters
- void setPriceRule(com.ibm.commerce.price.rule.runtime.objects.PriceRuleObject priceRule)
priceRule
- It can't be null.com.ibm.commerce.price.rule.runtime.objects.PriceRuleObject getPriceRule()
void setElementId(java.lang.String elementId)
elementId
- It can't be null.java.lang.String getElementId()
void setCatentryId(java.lang.String catentryId)
catentryId
- It can't be null.java.lang.String getCatentryId()
java.lang.String getCurrency()
void setCurrency(java.lang.String currency)
currency
- It can't be null.java.lang.String getUom()
void setUom(java.lang.String uom)
uom
- It can't be null.java.lang.Double getQuantity()
void setQuantity(java.lang.Double quantity)
quantity
- It can't be null.java.util.Map getRuntimeParametersMap()
void setRuntimeParametersMap(java.util.Map runtimeParametersMap)
runtimeParametersMap
- It can't be null.java.util.Map getReturnedObject()
void setReturnedObject(java.util.Map returnedObject)
returnedObject
- It can't be null.