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
public class DisplayMessageRAOAction extends ProductConfigAbstractRAOAction
Encapsulates display message logic as rule action.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringMESSAGE_SEVERITYMessage 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 Constructor Description DisplayMessageRAOAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProductConfigRuleMessageSeverityconvertMessageSeverity(ProductConfigRuleDisplayMessageSeverity displayMessageSeverity)voidperformAction(RuleActionContext context)perform action on RAO objectsprotected java.lang.StringprepareActionLogText(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)-
Methods inherited from class de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl.ProductConfigAbstractRAOAction
createCsticRAO, createCsticValueRAO, updateContext, validateAllowedByRuntime, validateProcessStep, validateRuleAndLog
-
Methods inherited from class de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
addMetadataToRao, adjustStrategyQuantity, adjustUnitPrice, adjustUnitPrice, allowedByRuntimeConfiguration, checkAndGetRuleContext, consumeOrderEntries, consumeOrderEntries, consumeOrderEntry, consumeOrderEntry, consumeOrderEntry, createOrderEntryConsumedRAO, extractAmountForCurrency, filterByRuleGroup, getActionSupplementStrategies, getBeanName, getConfigurationService, getConsumableQuantity, getConsumptionSupport, getCurrencyUtils, getEligibleEntryQuantities, getEntriesSelectionStrategies, getMetaDataFromRule, getMetaDataFromRule, getPriceAdjustmentStrategy, getRaoLookupService, getRaoUtils, getRuleCode, getRuleConfigurationRRD, getRuleConfigurationRRDFilter, getRuleEngineCalculationService, getRuleGroupExecutionRRD, getRuleGroupExecutionRRDFilter, getSelectedOrderEntryQuantities, getSelectedOrderEntryRaos, hasEnoughQuantity, isConsumptionEnabled, lookupRAOByType, lookupRAOObjectsByType, mergeDiscounts, mergeOrderEntryConsumed, performActionInternal, postProcessAction, setActionSupplementStrategies, setBeanName, setConfigurationService, setConsumptionEnabled, setConsumptionSupport, setCurrencyUtils, setEntriesSelectionStrategies, setPriceAdjustmentStrategy, setRaoLookupService, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, shouldPerformAction, skipErrorLogging, splitEntriesSelectionStrategies, trackActionExecution, trackConsumedProducts, trackRuleExecution, trackRuleGroupCode, trackRuleGroupExecution, trackRuleGroupExecutions, updateActionRAOWithConsumed, validateCurrencyIsoCode, validateParameters, validateRule, validateSelectionStrategy
-
-
-
-
Field Detail
-
MESSAGE_SEVERITY
protected static final java.lang.String MESSAGE_SEVERITY
Message Severity used in the DisplayMessage action definition.- See Also:
- Constant Field Values
-
-
Method Detail
-
performAction
public void performAction(RuleActionContext context)
Description copied from interface:RAOActionperform action on RAO objects- Specified by:
performActionin interfaceRAOAction- Overrides:
performActionin classAbstractRuleExecutableSupport- Parameters:
context- - instance of RuleActionContext
-
convertMessageSeverity
protected ProductConfigRuleMessageSeverity convertMessageSeverity(ProductConfigRuleDisplayMessageSeverity displayMessageSeverity)
-
prepareActionLogText
protected java.lang.String prepareActionLogText(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)
- Specified by:
prepareActionLogTextin classProductConfigAbstractRAOAction
-
-