Class DisplayMessageRAOAction
java.lang.Object
de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl.ProductConfigAbstractRAOAction
de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl.DisplayMessageRAOAction
- All Implemented Interfaces:
RAOAction,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
Encapsulates display message logic as rule action.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringMessage Severity used in the DisplayMessage action definition.Fields inherited from class de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl.ProductConfigAbstractRAOAction
CSTIC_NAME, CSTIC_VALUE, MESSAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ProductConfigRuleMessageSeverityconvertMessageSeverity(ProductConfigRuleDisplayMessageSeverity displayMessageSeverity) booleanperformActionInternal(RuleActionContext context) template method called inside ofAbstractRuleExecutableSupport.performAction(RuleActionContext)protected StringprepareActionLogText(RuleActionContext context, Map<String, Object> parameters) Methods inherited from class de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl.ProductConfigAbstractRAOAction
createCsticRAO, createCsticValueRAO, logRuleData, performAction, updateContext, validateProcessStepMethods inherited from class de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
addMetadataToRao, checkAndGetRuleContext, extractAmountForCurrency, getActionSupplementStrategies, getBeanName, getConfigurationService, getConsumptionSupport, getCurrencyUtils, getMetaDataFromRule, getMetaDataFromRule, getPriceAdjustmentStrategy, getRaoLookupService, getRaoUtils, getRuleCode, getRuleEngineCalculationService, getRuleGroupCode, getRuntimeTracker, isRuleGroupExclusive, mergeDiscounts, postProcessAction, setActionSupplementStrategies, setBeanName, setConfigurationService, setConsumptionSupport, setCurrencyUtils, setPriceAdjustmentStrategy, setRaoLookupService, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, shouldPerformAction, splitEntriesSelectionStrategies, trackActionExecution, validateCurrencyIsoCode, validateParameters, validateRule, validateSelectionStrategy
-
Field Details
-
MESSAGE_SEVERITY
Message Severity used in the DisplayMessage action definition.- See Also:
-
-
Constructor Details
-
DisplayMessageRAOAction
public DisplayMessageRAOAction()
-
-
Method Details
-
performActionInternal
Description copied from class:AbstractRuleExecutableSupporttemplate method called inside ofAbstractRuleExecutableSupport.performAction(RuleActionContext)- Overrides:
performActionInternalin classAbstractRuleExecutableSupport- Parameters:
context- the context- Returns:
- true if the action was performed successfully, otherwise false
-
convertMessageSeverity
protected ProductConfigRuleMessageSeverity convertMessageSeverity(ProductConfigRuleDisplayMessageSeverity displayMessageSeverity) -
prepareActionLogText
- Specified by:
prepareActionLogTextin classProductConfigAbstractRAOAction
-