Class QualifyingCategoryPotentialPromotionMessageActionSupplementStrategy
java.lang.Object
de.hybris.platform.promotionengineservices.action.strategies.QualifyingCategoryPotentialPromotionMessageActionSupplementStrategy
- All Implemented Interfaces:
ActionSupplementStrategy
public class QualifyingCategoryPotentialPromotionMessageActionSupplementStrategy
extends Object
implements ActionSupplementStrategy
The class supplements
DisplayMessageRAO with dynamically-evaluated data for Qualifying Category Products
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 booleanisMessageForQualifiedCategory(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
-
CATEGORIZIED_PRODUCTS_QUANTITY_PARAMETER
- See Also:
-
CATEGORIZIED_PRODUCTS_QUANTITY_PARAMETER_UUID
- See Also:
-
CATEGORIES_PARAMETER
- See Also:
-
CATEGORIES_PARAMETER_UUID
- See Also:
-
-
Constructor Details
-
QualifyingCategoryPotentialPromotionMessageActionSupplementStrategy
public QualifyingCategoryPotentialPromotionMessageActionSupplementStrategy()
-
-
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
-
isMessageForQualifiedCategory
-
hasNotNullParameter
-
getConsumptionSupport
-
setConsumptionSupport
-