Class AbstractRuleConditionTranslator
java.lang.Object
de.hybris.platform.ruledefinitions.conditions.AbstractRuleConditionTranslator
- All Implemented Interfaces:
RuleConditionTranslator
- Direct Known Subclasses:
RuleCartTotalConditionTranslator,RuleCustomerSupportConditionTranslator,RuleEntryGroupTypeConditionTranslator,RuleOrderThresholdPerfectPartnerConditionTranslator,RuleProductPriceConditionTranslator,RuleQualifyingCategoriesConditionTranslator,RuleQualifyingProductsConditionTranslator,RuleTargetCustomersConditionTranslator
public abstract class AbstractRuleConditionTranslator
extends Object
implements RuleConditionTranslator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcovertToNullIfEmptyCollection(Object seedObject) protected ObjectcovertToNullIfEmptyMap(Object seedObject) protected RuleConditionConsumptionSupportvoidsetConsumptionSupport(RuleConditionConsumptionSupport consumptionSupport) protected booleanverifyAllPresent(Object... objects) protected booleanverifyAnyPresent(Object... objects) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.ruleengineservices.compiler.RuleConditionTranslator
translate
-
Field Details
-
OPERATOR_PARAM
- See Also:
-
VALUE_PARAM
- See Also:
-
CART_RAO_CURRENCY_ATTRIBUTE
- See Also:
-
CART_RAO_ENTRIES_ATTRIBUTE
- See Also:
-
PRODUCT_CONSUMED_RAO_ENTRY_ATTRIBUTE
- See Also:
-
ORDER_ENTRY_RAO_BASE_PRICE_ATTRIBUTE
- See Also:
-
QUANTITY_PARAM
- See Also:
-
AVAILABLE_QUANTITY_PARAM
- See Also:
-
CATEGORIES_OPERATOR_PARAM
- See Also:
-
CATEGORIES_PARAM
- See Also:
-
ORDER_ENTRY_RAO_PRODUCT_CODE_ATTRIBUTE
- See Also:
-
ORDER_ENTRY_RAO_CATEGORY_CODES_ATTRIBUTE
- See Also:
-
PRODUCTS_PARAM
- See Also:
-
BASE_PRODUCT_CODES_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
AbstractRuleConditionTranslator
public AbstractRuleConditionTranslator()
-
-
Method Details
-
verifyAllPresent
-
verifyAnyPresent
-
covertToNullIfEmptyCollection
-
covertToNullIfEmptyMap
-
getConsumptionSupport
-
setConsumptionSupport
-