Class QualifyingProductPotentialPromotionMessageActionSupplementStrategy
java.lang.Object
de.hybris.platform.promotionengineservices.action.strategies.QualifyingProductPotentialPromotionMessageActionSupplementStrategy
- All Implemented Interfaces:
ActionSupplementStrategy
public class QualifyingProductPotentialPromotionMessageActionSupplementStrategy
extends Object
implements ActionSupplementStrategy
The class supplements
DisplayMessageRAO with dynamically-evaluated data for Qualifying Product condition.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from interface de.hybris.platform.ruleengineservices.rule.evaluation.actions.ActionSupplementStrategy
UUID_SUFFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RAOConsumptionSupportprotected intgetValueToDisplay(RuleActionContext context) protected booleanhasNotNullParameter(Map<String, Object> parameters, String paramName) booleanisActionProperToHandle(AbstractRuleActionRAO actionRao, RuleActionContext context) Checks if the action result is proper to be processed by the strategyprotected booleanisMessageForQualifiedProduct(Map<String, Object> parameters) voidsetConsumptionSupport(RAOConsumptionSupport consumptionSupport) booleanshouldPerformAction(AbstractRuleActionRAO actionRao, RuleActionContext context) Gives additional input into whether an action should be performed or notMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.ruleengineservices.rule.evaluation.actions.ActionSupplementStrategy
postProcessAction
-
Field Details
-
PRODUCTS_QUANTITY_PARAMETER
- See Also:
-
PRODUCTS_QUANTITY_PARAMETER_UUID
- See Also:
-
PRODUCTS_PARAMETER
- See Also:
-
PRODUCTS_PARAMETER_UUID
- See Also:
-
-
Constructor Details
-
QualifyingProductPotentialPromotionMessageActionSupplementStrategy
public QualifyingProductPotentialPromotionMessageActionSupplementStrategy()
-
-
Method Details
-
isActionProperToHandle
Description copied from interface:ActionSupplementStrategyChecks if the action result is proper to be processed by the strategy- Specified by:
isActionProperToHandlein interfaceActionSupplementStrategy- Parameters:
actionRao- - action resultcontext- - instance of RuleActionContext
-
shouldPerformAction
Description copied from interface:ActionSupplementStrategyGives additional input into whether an action should be performed or not- Specified by:
shouldPerformActionin interfaceActionSupplementStrategy- Parameters:
actionRao- - action resultcontext- - instance of RuleActionContext- Returns:
trueif action should be performed,false- otherwise
-
getValueToDisplay
-
isMessageForQualifiedProduct
-
hasNotNullParameter
-
getConsumptionSupport
-
setConsumptionSupport
-