Class RuleCustomerSupportConditionTranslator
- java.lang.Object
-
- de.hybris.platform.ruledefinitions.conditions.AbstractRuleConditionTranslator
-
- de.hybris.platform.ruledefinitions.conditions.RuleCustomerSupportConditionTranslator
-
- All Implemented Interfaces:
RuleConditionTranslator
public class RuleCustomerSupportConditionTranslator extends AbstractRuleConditionTranslator
Creates the intermediate representation of the CustomerSupportRAO.customerEmulationActive condition
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringASSISTED_SERVICE_SESSION_ACTIVE_PARAMprotected static java.lang.StringCUSTOMER_SUPPORT_RAO_CUSTOMER_EMULATION_ACTIVE_ATTRIBUTE-
Fields inherited from class de.hybris.platform.ruledefinitions.conditions.AbstractRuleConditionTranslator
AVAILABLE_QUANTITY_PARAM, BASE_PRODUCT_CODES_ATTRIBUTE, CART_RAO_CURRENCY_ATTRIBUTE, CART_RAO_ENTRIES_ATTRIBUTE, CATEGORIES_OPERATOR_PARAM, CATEGORIES_PARAM, OPERATOR_PARAM, ORDER_ENTRY_RAO_BASE_PRICE_ATTRIBUTE, ORDER_ENTRY_RAO_CATEGORY_CODES_ATTRIBUTE, ORDER_ENTRY_RAO_PRODUCT_CODE_ATTRIBUTE, PRODUCT_CONSUMED_RAO_ENTRY_ATTRIBUTE, PRODUCTS_PARAM, QUANTITY_PARAM, VALUE_PARAM
-
-
Constructor Summary
Constructors Constructor Description RuleCustomerSupportConditionTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleIrConditiontranslate(RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData conditionDefinition)Translates a rule condition to the intermediate representation.-
Methods inherited from class de.hybris.platform.ruledefinitions.conditions.AbstractRuleConditionTranslator
covertToNullIfEmptyCollection, covertToNullIfEmptyMap, getConsumptionSupport, setConsumptionSupport, verifyAllPresent, verifyAnyPresent
-
-
-
-
Field Detail
-
ASSISTED_SERVICE_SESSION_ACTIVE_PARAM
protected static final java.lang.String ASSISTED_SERVICE_SESSION_ACTIVE_PARAM
- See Also:
- Constant Field Values
-
CUSTOMER_SUPPORT_RAO_CUSTOMER_EMULATION_ACTIVE_ATTRIBUTE
protected static final java.lang.String CUSTOMER_SUPPORT_RAO_CUSTOMER_EMULATION_ACTIVE_ATTRIBUTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
translate
public RuleIrCondition translate(RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData conditionDefinition)
Description copied from interface:RuleConditionTranslatorTranslates a rule condition to the intermediate representation.- Parameters:
context- - the compiler contextcondition- - the conditionconditionDefinition- - the condition definition- Returns:
- the intermediate representation for the condition
-
-