public class QualifyingProductPotentialPromotionMessageActionSupplementStrategy extends Object implements ActionSupplementStrategy
DisplayMessageRAO with dynamically-evaluated data for Qualifying Product condition.| Modifier and Type | Field and Description |
|---|---|
protected static String |
PRODUCT_PARAMETER |
protected static String |
PRODUCT_PARAMETER_UUID |
protected static String |
PRODUCTS_QUANTITY_PARAMETER |
protected static String |
PRODUCTS_QUANTITY_PARAMETER_UUID |
UUID_SUFFIX| Constructor and Description |
|---|
QualifyingProductPotentialPromotionMessageActionSupplementStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActionProperToHandle(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters)
Checks if the action result is proper to be processed by the strategy
|
protected boolean |
isMessageForQualifiedProduct(Map<String,Object> parameters) |
void |
postProcessAction(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters)
Post process of
AbstractRuleActionRAO. |
protected static final String PRODUCTS_QUANTITY_PARAMETER
protected static final String PRODUCTS_QUANTITY_PARAMETER_UUID
protected static final String PRODUCT_PARAMETER
protected static final String PRODUCT_PARAMETER_UUID
public QualifyingProductPotentialPromotionMessageActionSupplementStrategy()
public boolean isActionProperToHandle(AbstractRuleActionRAO actionRao, RuleActionContext context, Map<String,Object> parameters)
ActionSupplementStrategyisActionProperToHandle in interface ActionSupplementStrategyactionRao - - action resultcontext - - instance of RuleActionContextparameters - - map of named objects, creating the execution context for an actionpublic void postProcessAction(AbstractRuleActionRAO actionRao, RuleActionContext context, Map<String,Object> parameters)
ActionSupplementStrategyAbstractRuleActionRAO.postProcessAction in interface ActionSupplementStrategyactionRao - - action resultcontext - - instance of RuleActionContextparameters - - map of named objects, creating the execution context for an actionCopyright © 2017 SAP SE. All Rights Reserved.