public class InternalRuleEngineExecutePriceRuleCmdImpl extends TaskCommandImpl implements RuleEngineExecutePriceRuleCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
InternalRuleEngineExecutePriceRuleCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getCatentryIDToPriceListIDMap()
Get price list ID.
|
java.lang.String |
getContractId()
Get contractId.
|
com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] |
getFinalPrice()
Get finalPrice.
|
com.ibm.commerce.price.rule.PriceRuleParameterObject[] |
getPriceRuleParameterObject()
Get priceRuleParameterObject.
|
java.lang.String |
getRuleId()
Get priceRuleId.
|
void |
performExecute()
The main logic to execute the command.
|
void |
reset()
Prepare this command for re-use.
|
void |
setContractId(java.lang.String newContractId)
Set the contractId.
|
void |
setFinalPrice(com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] newFinalPrice)
Set the finalPrice.
|
void |
setPriceRuleParameterObject(com.ibm.commerce.price.rule.PriceRuleParameterObject[] newPriceRuleParameterObject)
Set the priceRuleParameterObject.
|
void |
setRuleId(java.lang.String newPriceRuleId)
Set the priceRuleId.
|
void |
validateParameters()
The method validates the parameters.
|
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
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
public static final java.lang.String COPYRIGHT
public InternalRuleEngineExecutePriceRuleCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
AbstractECTargetableCommand.reset()
public java.lang.String getContractId()
public void setContractId(java.lang.String newContractId)
newContractId
- The contractId to set. It can't be null.public java.lang.String getRuleId()
public void setRuleId(java.lang.String newPriceRuleId)
setRuleId
in interface RuleEngineExecutePriceRuleCmd
newPriceRuleId
- The priceRuleId to set. It can't be null.public com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] getFinalPrice()
getFinalPrice
in interface RuleEngineExecutePriceRuleCmd
public java.util.Map getCatentryIDToPriceListIDMap()
getCatentryIDToPriceListIDMap
in interface RuleEngineExecutePriceRuleCmd
public void setFinalPrice(com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] newFinalPrice)
newFinalPrice
- The finalPrice to set. It can't be null.public com.ibm.commerce.price.rule.PriceRuleParameterObject[] getPriceRuleParameterObject()
public void setPriceRuleParameterObject(com.ibm.commerce.price.rule.PriceRuleParameterObject[] newPriceRuleParameterObject)
setPriceRuleParameterObject
in interface RuleEngineExecutePriceRuleCmd
newPriceRuleParameterObject
- The priceRuleParameterObject to set. It can't be null.public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException