Class TmaSelectPolicyActionResolver
- java.lang.Object
-
- de.hybris.platform.b2ctelcoservices.compatibility.impl.TmaSelectPolicyActionResolver
-
- All Implemented Interfaces:
TmaPolicyActionResolver
public class TmaSelectPolicyActionResolver extends java.lang.Object implements TmaPolicyActionResolver
Service handling failedTmaPolicyActionModelhavingTmaCompatibilityPolicyActionType.SELECTaction type.- Since:
- 6.7
-
-
Constructor Summary
Constructors Constructor Description TmaSelectPolicyActionResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected de.hybris.platform.order.EntryGroupServicegetEntryGroupService()protected java.lang.StringgetErrorMessage(TmaPolicyStatementModel statement)protected de.hybris.platform.servicelayer.i18n.L10NServicegetL10NService()protected de.hybris.platform.servicelayer.model.ModelServicegetModelService()TmaEntryGroupServicegetTmaEntryGroupService()protected TmaValidationMessagesStrategygetTmaValidationMessagesStrategy()voidprocessPolicyActions(AbstractOrderModel orderModel, EntryGroup entryGroup, java.util.List<TmaPolicyActionModel> policyActions)Updates the entry group with the error messages computed based on the failed poly actions.voidsetEntryGroupService(de.hybris.platform.order.EntryGroupService entryGroupService)voidsetL10NService(de.hybris.platform.servicelayer.i18n.L10NService l10NService)voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService)voidsetTmaEntryGroupService(TmaEntryGroupService tmaEntryGroupService)voidsetTmaValidationMessagesStrategy(TmaValidationMessagesStrategy tmaValidationMessagesStrategy)
-
-
-
Method Detail
-
processPolicyActions
public void processPolicyActions(AbstractOrderModel orderModel, EntryGroup entryGroup, java.util.List<TmaPolicyActionModel> policyActions)
Updates the entry group with the error messages computed based on the failed poly actions.- Specified by:
processPolicyActionsin interfaceTmaPolicyActionResolver- Parameters:
orderModel- the current orderentryGroup- cart entry group considered invalidpolicyActions- failed policy actions
-
getErrorMessage
protected java.lang.String getErrorMessage(TmaPolicyStatementModel statement)
-
getL10NService
protected de.hybris.platform.servicelayer.i18n.L10NService getL10NService()
-
setL10NService
public void setL10NService(de.hybris.platform.servicelayer.i18n.L10NService l10NService)
-
getEntryGroupService
protected de.hybris.platform.order.EntryGroupService getEntryGroupService()
-
setEntryGroupService
public void setEntryGroupService(de.hybris.platform.order.EntryGroupService entryGroupService)
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()
-
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
-
getTmaValidationMessagesStrategy
protected TmaValidationMessagesStrategy getTmaValidationMessagesStrategy()
-
setTmaValidationMessagesStrategy
public void setTmaValidationMessagesStrategy(TmaValidationMessagesStrategy tmaValidationMessagesStrategy)
-
getTmaEntryGroupService
public TmaEntryGroupService getTmaEntryGroupService()
-
setTmaEntryGroupService
public void setTmaEntryGroupService(TmaEntryGroupService tmaEntryGroupService)
-
-