Class RuleFreeGiftToBundleRAOAction
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
-
- de.hybris.platform.ruleengineservices.rule.evaluation.actions.impl.RuleFreeGiftToBundleRAOAction
-
- All Implemented Interfaces:
RAOAction,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
@Deprecated(since="1811", forRemoval=true) public class RuleFreeGiftToBundleRAOAction extends AbstractRuleExecutableSupportDeprecated, for removal: This API element is subject to removal in a future version.since 18.11
-
-
Constructor Summary
Constructors Constructor Description RuleFreeGiftToBundleRAOAction()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.util.Optional<ProductModel>findProduct(java.lang.String productCode, RuleActionContext context)Deprecated, for removal: This API element is subject to removal in a future version.protected ProductServicegetProductService()Deprecated, for removal: This API element is subject to removal in a future version.protected RuleOrderEntryPercentageDiscountRAOActiongetRuleOrderEntryPercentageDiscountRAOAction()Deprecated, for removal: This API element is subject to removal in a future version.protected booleanperformAction(RuleActionContext context, java.lang.String productCode, java.util.Collection<EntriesSelectionStrategyRPD> strategies, java.lang.Integer quantity)Deprecated, for removal: This API element is subject to removal in a future version.booleanperformActionInternal(RuleActionContext context)Deprecated, for removal: This API element is subject to removal in a future version.template method called inside ofAbstractRuleExecutableSupport.performAction(RuleActionContext)voidsetProductService(ProductService productService)Deprecated, for removal: This API element is subject to removal in a future version.voidsetRuleOrderEntryPercentageDiscountRAOAction(RuleOrderEntryPercentageDiscountRAOAction ruleOrderEntryPercentageDiscountRAOAction)Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
addMetadataToRao, adjustStrategyQuantity, adjustUnitPrice, adjustUnitPrice, allowedByRuntimeConfiguration, checkAndGetRuleContext, consumeOrderEntries, consumeOrderEntries, consumeOrderEntry, consumeOrderEntry, consumeOrderEntry, createOrderEntryConsumedRAO, extractAmountForCurrency, filterByRuleGroup, getActionSupplementStrategies, getBeanName, getConfigurationService, getConsumableQuantity, getConsumptionSupport, getCurrencyUtils, getEligibleEntryQuantities, getEntriesSelectionStrategies, getMetaDataFromRule, getMetaDataFromRule, getPriceAdjustmentStrategy, getRaoLookupService, getRaoUtils, getRuleCode, getRuleConfigurationRRD, getRuleConfigurationRRDFilter, getRuleEngineCalculationService, getRuleGroupExecutionRRD, getRuleGroupExecutionRRDFilter, getSelectedOrderEntryQuantities, getSelectedOrderEntryRaos, hasEnoughQuantity, isConsumptionEnabled, lookupRAOByType, lookupRAOObjectsByType, mergeDiscounts, mergeOrderEntryConsumed, performAction, postProcessAction, setActionSupplementStrategies, setBeanName, setConfigurationService, setConsumptionEnabled, setConsumptionSupport, setCurrencyUtils, setEntriesSelectionStrategies, setPriceAdjustmentStrategy, setRaoLookupService, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, shouldPerformAction, skipErrorLogging, splitEntriesSelectionStrategies, trackActionExecution, trackConsumedProducts, trackRuleExecution, trackRuleGroupCode, trackRuleGroupExecution, trackRuleGroupExecutions, updateActionRAOWithConsumed, validateCurrencyIsoCode, validateParameters, validateRule, validateSelectionStrategy
-
-
-
-
Method Detail
-
performActionInternal
public boolean performActionInternal(RuleActionContext context)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractRuleExecutableSupporttemplate method called inside ofAbstractRuleExecutableSupport.performAction(RuleActionContext)- Overrides:
performActionInternalin classAbstractRuleExecutableSupport- Parameters:
context- the context- Returns:
- true if the action was performed successfully, otherwise false
-
performAction
protected boolean performAction(RuleActionContext context, java.lang.String productCode, java.util.Collection<EntriesSelectionStrategyRPD> strategies, java.lang.Integer quantity)
Deprecated, for removal: This API element is subject to removal in a future version.
-
findProduct
protected java.util.Optional<ProductModel> findProduct(java.lang.String productCode, RuleActionContext context)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getProductService
protected ProductService getProductService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setProductService
public void setProductService(ProductService productService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setRuleOrderEntryPercentageDiscountRAOAction
public void setRuleOrderEntryPercentageDiscountRAOAction(RuleOrderEntryPercentageDiscountRAOAction ruleOrderEntryPercentageDiscountRAOAction)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getRuleOrderEntryPercentageDiscountRAOAction
protected RuleOrderEntryPercentageDiscountRAOAction getRuleOrderEntryPercentageDiscountRAOAction()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-