Class TmaCompatibilityPolicyActionStrategy

java.lang.Object
de.hybris.platform.b2ctelcoservices.compatibility.impl.TmaCompatibilityPolicyActionStrategy
All Implemented Interfaces:
TmaPolicyActionStrategy
Direct Known Subclasses:
TmaAutopickPolicyActionStrategy

public class TmaCompatibilityPolicyActionStrategy extends Object implements TmaPolicyActionStrategy
Strategy to process compatibility actions
Since:
1911
  • Constructor Details

    • TmaCompatibilityPolicyActionStrategy

      public TmaCompatibilityPolicyActionStrategy(TmaPolicyActionResolver policyActionResolver, de.hybris.platform.servicelayer.model.ModelService modelService, de.hybris.platform.order.EntryGroupService entryGroupService, TmaValidationMessagesStrategy validationMessagesStrategy)
  • Method Details

    • processActions

      public void processActions(Set<RuleEvaluationResult> results)
      Description copied from interface: TmaPolicyActionStrategy
      Process the actions corresponding to the given results
      Specified by:
      processActions in interface TmaPolicyActionStrategy
      Parameters:
      results - the given rule evaluation results
    • getInitialContext

      protected TmaPolicyContext getInitialContext(Set<RuleEvaluationResult> results)
    • getParentEntry

      protected AbstractOrderEntryModel getParentEntry(AbstractOrderEntryModel entry)
      Returns the master entry of the entry, if there is one. If not, it is returning null.
      Parameters:
      entry - The entry
      Returns:
      The parent entry
    • getPolicyActionResolver

      protected TmaPolicyActionResolver getPolicyActionResolver()
    • getModelService

      @Deprecated(since="2011", forRemoval=true) protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2011 - saving the validation messages has been moved to TmaValidationMessageStrategy
    • getEntryGroupService

      @Deprecated(since="2011", forRemoval=true) protected de.hybris.platform.order.EntryGroupService getEntryGroupService()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2102
    • getValidationMessagesStrategy

      protected TmaValidationMessagesStrategy getValidationMessagesStrategy()