Class SetCsticValueRuleActionStrategyImpl
java.lang.Object
de.hybris.platform.sap.productconfig.rules.action.strategy.impl.ProductConfigAbstractRuleActionStrategy
de.hybris.platform.sap.productconfig.rules.action.strategy.impl.SetCsticValueRuleActionStrategyImpl
- All Implemented Interfaces:
ProductConfigRuleActionStrategy
Encapsulates logic of setting characteristic value as rule action.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexecuteAction(ConfigModel model, AbstractRuleActionRAO action, Map<String, CsticModel> csticMap) protected StringgetValueToSet(AbstractRuleActionRAO action, CsticModel cstic) protected booleanisActionPossible(ConfigModel model, AbstractRuleActionRAO action, Map<String, CsticModel> csticMap) Methods inherited from class de.hybris.platform.sap.productconfig.rules.action.strategy.impl.ProductConfigAbstractRuleActionStrategy
addMessageToConfigModel, addMessageToCsticValue, apply, createMessage, getConfigModelFactory, getCstic, getI18NService, getRule, getRuleActionChecker, getRuleEngineService, getRuleParametersService, getRulesFormator, getRuleUtil, handleMessage, isReadDomainValuesOnDemand, logMessageData, mapSeverity, messageContainsParameters, replaceMessageParameters, resolveMessage, retrieveCsticValueModel, retrieveCsticValueModelForRuleMessage, setConfigModelFactory, setI18NService, setReadDomainValuesOnDemand, setRuleActionChecker, setRuleEngineService, setRuleParametersService, setRulesFormator, setRuleUtil, showMessage
-
Constructor Details
-
SetCsticValueRuleActionStrategyImpl
public SetCsticValueRuleActionStrategyImpl()
-
-
Method Details
-
executeAction
protected boolean executeAction(ConfigModel model, AbstractRuleActionRAO action, Map<String, CsticModel> csticMap) - Specified by:
executeActionin classProductConfigAbstractRuleActionStrategy
-
isActionPossible
protected boolean isActionPossible(ConfigModel model, AbstractRuleActionRAO action, Map<String, CsticModel> csticMap) - Specified by:
isActionPossiblein classProductConfigAbstractRuleActionStrategy
-
getValueToSet
-