Class RuleSearchDateCartConditionTranslator

java.lang.Object
de.hybris.platform.travelrulesengine.conditions.RuleSearchDateCartConditionTranslator
All Implemented Interfaces:
de.hybris.platform.ruleengineservices.compiler.RuleConditionTranslator

public class RuleSearchDateCartConditionTranslator extends Object implements de.hybris.platform.ruleengineservices.compiler.RuleConditionTranslator
The type Rule search date cart condition translator.
  • Constructor Details

    • RuleSearchDateCartConditionTranslator

      public RuleSearchDateCartConditionTranslator()
  • Method Details

    • translate

      public RuleIrCondition translate(de.hybris.platform.ruleengineservices.compiler.RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData ruleConditionDefinitionData)
      Specified by:
      translate in interface de.hybris.platform.ruleengineservices.compiler.RuleConditionTranslator
    • getNotAllowedBookingJourneyTypes

      protected List<String> getNotAllowedBookingJourneyTypes()
      Gets not allowed booking journey types.
      Returns:
      the not allowed booking journey types
    • setNotAllowedBookingJourneyTypes

      @Deprecated(since="2003") public void setNotAllowedBookingJourneyTypes(List<String> notAllowedBookingJourneyTypes)
      Deprecated.
      since version 2003.
      Sets not allowed booking journey types.
      Parameters:
      notAllowedBookingJourneyTypes - the not allowed booking journey types
    • getNotAllowedOrderTypes

      protected List<String> getNotAllowedOrderTypes()
      Gets not allowed order types.
      Returns:
      the not allowed order types
    • setNotAllowedOrderTypes

      public void setNotAllowedOrderTypes(List<String> notAllowedOrderTypes)
      Sets not allowed order types.
      Parameters:
      notAllowedOrderTypes - the not allowed order types