Uses of Interface
de.hybris.platform.ruleengineservices.rule.evaluation.RuleActionContext
-
-
Uses of RuleActionContext in de.hybris.platform.couponservices.rule.evaluation.actions.impl
Methods in de.hybris.platform.couponservices.rule.evaluation.actions.impl with parameters of type RuleActionContext Modifier and Type Method Description protected voidRuleAddCouponRAOAction. addCoupon(RuleActionContext context, java.lang.String couponId)booleanRuleAddCouponRAOAction. performActionInternal(RuleActionContext context) -
Uses of RuleActionContext in de.hybris.platform.droolsruleengineservices.compiler.impl
Classes in de.hybris.platform.droolsruleengineservices.compiler.impl that implement RuleActionContext Modifier and Type Class Description classDefaultDroolsRuleActionContextDefault implementation ofRuleActionContextfor the drools rule engine. -
Uses of RuleActionContext in de.hybris.platform.promotionengineservices.action.strategies
Methods in de.hybris.platform.promotionengineservices.action.strategies with parameters of type RuleActionContext Modifier and Type Method Description protected java.math.BigDecimalCartTotalThresholdPotentialPromotionMessageActionSupplementStrategy. getValueToDisplay(RuleActionContext context)protected intQualifyingCategoryPotentialPromotionMessageActionSupplementStrategy. getValueToDisplay(RuleActionContext context)protected intQualifyingProductPotentialPromotionMessageActionSupplementStrategy. getValueToDisplay(RuleActionContext context)booleanCartTotalThresholdPotentialPromotionMessageActionSupplementStrategy. isActionProperToHandle(AbstractRuleActionRAO actionRao, RuleActionContext context)booleanNoOpPotentialPromotionMessageActionSupplementStrategy. isActionProperToHandle(AbstractRuleActionRAO actionRao, RuleActionContext context)booleanQualifyingCategoryPotentialPromotionMessageActionSupplementStrategy. isActionProperToHandle(AbstractRuleActionRAO actionRao, RuleActionContext context)booleanQualifyingProductPotentialPromotionMessageActionSupplementStrategy. isActionProperToHandle(AbstractRuleActionRAO actionRao, RuleActionContext context)booleanCartTotalThresholdPotentialPromotionMessageActionSupplementStrategy. shouldPerformAction(AbstractRuleActionRAO actionRao, RuleActionContext context)booleanNoOpPotentialPromotionMessageActionSupplementStrategy. shouldPerformAction(AbstractRuleActionRAO actionRao, RuleActionContext context)booleanQualifyingCategoryPotentialPromotionMessageActionSupplementStrategy. shouldPerformAction(AbstractRuleActionRAO actionRao, RuleActionContext context)booleanQualifyingProductPotentialPromotionMessageActionSupplementStrategy. shouldPerformAction(AbstractRuleActionRAO actionRao, RuleActionContext context) -
Uses of RuleActionContext in de.hybris.platform.ruledefinitions.actions
Methods in de.hybris.platform.ruledefinitions.actions with parameters of type RuleActionContext Modifier and Type Method Description voidAbstractRAOActionAware. executeAction(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)Execute abstract action. -
Uses of RuleActionContext in de.hybris.platform.ruleengineservices.rule.evaluation
Methods in de.hybris.platform.ruleengineservices.rule.evaluation with parameters of type RuleActionContext Modifier and Type Method Description voidRuleExecutableAction. executeAction(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)execute rule consequence -
Uses of RuleActionContext in de.hybris.platform.ruleengineservices.rule.evaluation.actions
Methods in de.hybris.platform.ruleengineservices.rule.evaluation.actions with parameters of type RuleActionContext Modifier and Type Method Description protected voidAbstractRuleExecutableSupport. addMetadataToRao(AbstractRuleActionRAO rao, RuleActionContext context)protected booleanAbstractRuleExecutableSupport. allowedByRuntimeConfiguration(RuleActionContext context)Deprecated, for removal: This API element is subject to removal in a future version.not used anymore as theRuleAndRuleGroupExecutionTrackerand it's agenda filter are used nowprotected org.drools.core.spi.KnowledgeHelperAbstractRuleExecutableSupport. checkAndGetRuleContext(RuleActionContext context)Checks that the givenruleContextis of typeKnowledgeHelper(i.e.<T extends AbstractRuleActionRAO>
voidRAOConsumptionSupport. consumeOrderEntries(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> strategies, T actionRAO)Creates newOrderEntryConusmedRAOs for the given strategies, links them to the givenactionRAOand reduces available quantity of order entry by given quantity for every Order Entry from the set and using quantity fromdiscountedOrderEntryMap.protected java.util.List<EntriesSelectionStrategyRPD>AbstractRulePartnerProductAction. createSelectionStrategyRPDsQualifyingProducts(RuleActionContext context, OrderEntrySelectionStrategy selectionStrategy, java.util.Map<java.lang.String,java.lang.Integer> qualifyingProductsContainers)protected java.util.List<EntriesSelectionStrategyRPD>AbstractRulePartnerProductAction. createSelectionStrategyRPDsTargetProducts(RuleActionContext context, OrderEntrySelectionStrategy selectionStrategy, java.util.Map<java.lang.String,java.lang.Integer> targetProductsContainers)protected java.util.Optional<java.math.BigDecimal>AbstractRuleExecutableSupport. extractAmountForCurrency(RuleActionContext context, java.lang.Object currencyAmount)protected java.util.Map<java.lang.String,java.lang.String>AbstractRuleExecutableSupport. getMetaDataFromRule(RuleActionContext context)protected java.lang.StringAbstractRuleExecutableSupport. getMetaDataFromRule(RuleActionContext context, java.lang.String key)Returns the rule's meta-data for the given key (ornull).protected java.util.Set<OrderEntryRAO>AbstractRulePartnerProductAction. getOrderEntries(RuleActionContext context, java.util.Map.Entry<java.lang.String,java.lang.Integer> entry)protected java.lang.StringAbstractRuleExecutableSupport. getRuleCode(RuleActionContext context)Returns the rule's rule code meta data.protected RuleConfigurationRRDAbstractRuleExecutableSupport. getRuleConfigurationRRD(java.lang.String ruleCode, RuleActionContext context)Deprecated, for removal: This API element is subject to removal in a future version.not used anymore as theRuleAndRuleGroupExecutionTrackerand it's agenda filter are used nowprotected java.lang.StringAbstractRuleExecutableSupport. getRuleGroupCode(RuleActionContext context)Returns the rule's rule group code meta data.protected RuleGroupExecutionRRDAbstractRuleExecutableSupport. getRuleGroupExecutionRRD(java.lang.String ruleGroupCode, RuleActionContext context)retrieves the RuleGroupExecutionRRD for the given ruleGroupCode from the given context.protected RuleAndRuleGroupExecutionTrackerAbstractRuleExecutableSupport. getRuntimeTracker(RuleActionContext context)java.util.Map<java.lang.Integer,java.lang.Integer>RAOConsumptionSupport. getSelectedOrderEntryQuantities(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> strategies)Gets Order Entry identifiers (orderEntry.entryNumber) and Unit Quantity To Be Consumed for the Order Entries.booleanRAOConsumptionSupport. hasEnoughQuantity(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs)Checks if allentriesSelectionStrategyRPDshave enough quantity.booleanActionSupplementStrategy. isActionProperToHandle(AbstractRuleActionRAO actionRao, RuleActionContext context)Checks if the action result is proper to be processed by the strategyprotected booleanAbstractRuleExecutableSupport. isRuleGroupExclusive(RuleActionContext context)<T> java.util.Optional<T>RAOLookupService. lookupRAOByType(java.lang.Class<T> raoType, RuleActionContext context, java.util.function.Predicate<T>... raoFilters)Performs lookup for the RAO object identified by its type within providedRuleActionContext<T> java.util.List<T>RAOLookupService. lookupRAOObjectsByType(java.lang.Class<T> raoType, RuleActionContext context, java.util.function.Predicate<T>... raoFilters)Performs lookup for the RAO objects identified by its type within providedRuleActionContextprotected booleanAbstractRuleExecutableSupport. mergeDiscounts(RuleActionContext context, DiscountRAO discountRao, OrderEntryRAO entry)voidAbstractRuleExecutableSupport. performAction(RuleActionContext context)voidRAOAction. performAction(RuleActionContext context)perform action on RAO objectsprotected booleanAbstractRuleExecutableSupport. performActionInternal(RuleActionContext context)template method called inside ofAbstractRuleExecutableSupport.performAction(RuleActionContext)protected voidAbstractRuleExecutableSupport. postProcessAction(AbstractRuleActionRAO actionRao, RuleActionContext context)default voidActionSupplementStrategy. postProcessAction(AbstractRuleActionRAO actionRao, RuleActionContext context)Post process ofAbstractRuleActionRAO.voidAbstractRuleExecutableSupport. setRAOMetaData(RuleActionContext context, AbstractRuleActionRAO... raos)protected booleanAbstractRuleExecutableSupport. shouldPerformAction(AbstractRuleActionRAO actionRao, RuleActionContext context)booleanActionSupplementStrategy. shouldPerformAction(AbstractRuleActionRAO actionRao, RuleActionContext context)Gives additional input into whether an action should be performed or notprotected voidAbstractRuleExecutableSupport. trackActionExecution(RuleActionContext context)voidRAOConsumptionSupport. trackConsumedProducts(RuleActionContext context)protected voidAbstractRuleExecutableSupport. validateRule(RuleActionContext context)Validates that the required meta-data is available.protected voidAbstractRuleExecutableSupport. validateSelectionStrategy(java.util.Collection<EntriesSelectionStrategyRPD> strategies, RuleActionContext context)ValidatesentriesSelectionStrategyRPDschecking if the collection is not empty, if orderEntries list of each entry of entriesSelectionStrategyRPDs is not empty and all the orderEntries are from the same Order. -
Uses of RuleActionContext in de.hybris.platform.ruleengineservices.rule.evaluation.actions.impl
Methods in de.hybris.platform.ruleengineservices.rule.evaluation.actions.impl with parameters of type RuleActionContext Modifier and Type Method Description protected voidRuleOrderEntryFixedPriceRAOAction. addDiscount(RuleActionContext context, OrderEntryRAO orderEntryRao, int quantity, DiscountRAO discount)protected voidRuleOrderEntryFixedPriceRAOAction. addDiscount(RuleActionContext context, OrderEntryRAO orderEntryRao, DiscountRAO discount)protected java.util.List<DiscountRAO>RulePartnerOrderEntryFixedDiscountRAOAction. addDiscountAndConsume(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> selectionStrategies, boolean absolute, java.math.BigDecimal price, RuleEngineResultRAO result)protected java.util.List<DiscountRAO>RulePartnerOrderEntryPercentageDiscountRAOAction. addDiscountAndConsume(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> selectionStrategies, boolean absolute, java.math.BigDecimal price)protected java.util.List<DiscountRAO>RulePartnerOrderEntryFixedPriceRAOAction. addFixedPriceEntryDiscount(java.util.List<EntriesSelectionStrategyRPD> selectionStrategies, java.math.BigDecimal fixedPrice, RuleActionContext context)protected booleanRuleHaltRAOAction. allowedByRuntimeConfiguration(RuleActionContext context)Deprecated, for removal: This API element is subject to removal in a future version.(as superclass method is deprecated as well)voidRuleChangeDeliveryModeRAOAction. changeDeliveryMode(CartRAO cartRao, DeliveryModeRAO mode, RuleEngineResultRAO result, RuleActionContext context)protected org.drools.core.spi.KnowledgeHelperDefaultRAOLookupService. checkAndGetRuleContext(RuleActionContext context)Checks that the givenruleContextis of typeKnowledgeHelper(i.e.<T extends AbstractRuleActionRAO>
voidDefaultRAOConsumptionSupport. consumeOrderEntries(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> strategies, T actionRAO)protected ProductModelRuleFreeGiftRAOAction. findProduct(java.lang.String productCode, RuleActionContext context)java.util.Map<java.lang.Integer,java.lang.Integer>DefaultRAOConsumptionSupport. getSelectedOrderEntryQuantities(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> strategies)booleanDefaultRAOConsumptionSupport. hasEnoughQuantity(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs)<T> java.util.Optional<T>DefaultRAOLookupService. lookupRAOByType(java.lang.Class<T> raoType, RuleActionContext context, java.util.function.Predicate<T>... raoFilters)<T> java.util.List<T>DefaultRAOLookupService. lookupRAOObjectsByType(java.lang.Class<T> raoType, RuleActionContext context, java.util.function.Predicate<T>... raoFilters)protected booleanRuleChangeDeliveryModeRAOAction. performAction(RuleActionContext context, java.lang.String deliveryModeCode)protected booleanRuleFreeGiftRAOAction. performAction(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Integer> qualifyingProductsContainers, java.lang.String productCode, java.lang.Integer quantity)protected booleanRuleOrderEntryFixedDiscountRAOAction. performAction(RuleActionContext context, OrderEntryRAO orderEntryRao, java.math.BigDecimal valueForCurrency)protected booleanRuleOrderFixedDiscountRAOAction. performAction(RuleActionContext context, java.math.BigDecimal amount)protected booleanRuleOrderPercentageDiscountRAOAction. performAction(RuleActionContext context, java.math.BigDecimal amount)protected booleanRulePartnerOrderEntryFixedDiscountRAOAction. performAction(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs, java.math.BigDecimal amount)booleanRulePartnerOrderEntryFixedPriceRAOAction. performAction(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs, java.math.BigDecimal amount)protected booleanRulePartnerOrderEntryPercentageDiscountRAOAction. performAction(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs, java.math.BigDecimal amount)protected booleanRuleTargetBundlePriceRAOAction. performAction(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs, java.math.BigDecimal amount)booleanRuleChangeDeliveryModeRAOAction. performActionInternal(RuleActionContext context)booleanRuleFreeGiftRAOAction. performActionInternal(RuleActionContext context)booleanRuleHaltRAOAction. performActionInternal(RuleActionContext context)booleanRuleOrderEntryFixedDiscountRAOAction. performActionInternal(RuleActionContext context)booleanRuleOrderEntryFixedPriceRAOAction. performActionInternal(RuleActionContext context)booleanRuleOrderEntryPercentageDiscountRAOAction. performActionInternal(RuleActionContext context)booleanRuleOrderFixedDiscountRAOAction. performActionInternal(RuleActionContext context)booleanRuleOrderPercentageDiscountRAOAction. performActionInternal(RuleActionContext context)booleanRulePartnerOrderEntryFixedDiscountRAOAction. performActionInternal(RuleActionContext context)booleanRulePartnerOrderEntryFixedPriceRAOAction. performActionInternal(RuleActionContext context)booleanRulePartnerOrderEntryPercentageDiscountRAOAction. performActionInternal(RuleActionContext context)booleanRuleTargetBundlePriceRAOAction. performActionInternal(RuleActionContext context)booleanRuleTriggerMessageRAOAction. performActionInternal(RuleActionContext context)protected booleanRuleOrderEntryFixedPriceRAOAction. processOrderEntry(RuleActionContext context, OrderEntryRAO orderEntryRao, java.math.BigDecimal valueForCurrency)protected booleanRuleOrderEntryPercentageDiscountRAOAction. processOrderEntry(RuleActionContext context, OrderEntryRAO orderEntryRao, java.math.BigDecimal value)protected booleanRuleOrderEntryFixedPriceRAOAction. processWithCartTotalThreshold(RuleActionContext context, boolean discountedPriceIncluded)protected booleanRuleOrderEntryFixedPriceRAOAction. processWithoutCartTotalThreshold(RuleActionContext context)voidDefaultRAOConsumptionSupport. trackConsumedProducts(RuleActionContext context)protected voidRuleFreeGiftRAOAction. updateFactsWithOrderEntries(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDS)protected voidRulePartnerOrderEntryFixedPriceRAOAction. updateFactsWithOrderEntries(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDS)protected voidRulePartnerOrderEntryPercentageDiscountRAOAction. updateFactsWithOrderEntries(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDS) -
Uses of RuleActionContext in de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl
Methods in de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl that return RuleActionContext Modifier and Type Method Description protected RuleActionContextAbstractProductConfigRAOActionTCBase. getContext()Methods in de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl with parameters of type RuleActionContext Modifier and Type Method Description protected voidProductConfigAbstractRAOAction. logRuleData(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters, java.lang.String... parameterNames)voidProductConfigAbstractRAOAction. performAction(RuleActionContext context)booleanDisplayCsticReadonlyRAOAction. performActionInternal(RuleActionContext context)booleanDisplayMessageRAOAction. performActionInternal(RuleActionContext context)booleanHideCsticRAOAction. performActionInternal(RuleActionContext context)booleanRemoveAssignableValueRAOAction. performActionInternal(RuleActionContext context)booleanSetCsticValueRAOAction. performActionInternal(RuleActionContext context)protected java.lang.StringDisplayCsticReadonlyRAOAction. prepareActionLogText(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)protected java.lang.StringDisplayMessageRAOAction. prepareActionLogText(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)protected java.lang.StringHideCsticRAOAction. prepareActionLogText(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)protected abstract java.lang.StringProductConfigAbstractRAOAction. prepareActionLogText(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)protected java.lang.StringRemoveAssignableValueRAOAction. prepareActionLogText(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)protected java.lang.StringSetCsticValueRAOAction. prepareActionLogText(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters)protected voidProductConfigAbstractRAOAction. updateContext(RuleActionContext context, AbstractRuleActionRAO actionRAO)protected booleanProductConfigAbstractRAOAction. validateProcessStep(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessStep... expectedProcessSteps)
-