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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets not allowed booking journey types.Gets not allowed order types.voidsetNotAllowedBookingJourneyTypes(List<String> notAllowedBookingJourneyTypes) Deprecated.since version 2003.voidsetNotAllowedOrderTypes(List<String> notAllowedOrderTypes) Sets not allowed order types.translate(de.hybris.platform.ruleengineservices.compiler.RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData ruleConditionDefinitionData)
-
Constructor Details
-
RuleSearchDateCartConditionTranslator
public RuleSearchDateCartConditionTranslator()
-
-
Method Details
-
translate
public RuleIrCondition translate(de.hybris.platform.ruleengineservices.compiler.RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData ruleConditionDefinitionData) - Specified by:
translatein interfacede.hybris.platform.ruleengineservices.compiler.RuleConditionTranslator
-
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
Gets not allowed order types.- Returns:
- the not allowed order types
-
setNotAllowedOrderTypes
Sets not allowed order types.- Parameters:
notAllowedOrderTypes- the not allowed order types
-