Uses of Class
de.hybris.platform.ruleengineservices.rao.EntriesSelectionStrategyRPD
-
-
Uses of EntriesSelectionStrategyRPD in de.hybris.platform.ruleengineservices.calculation
Methods in de.hybris.platform.ruleengineservices.calculation that return EntriesSelectionStrategyRPD Modifier and Type Method Description protected EntriesSelectionStrategyRPDAbstractRuleEngineTest. createEntriesSelectionStrategyRPD(OrderEntrySelectionStrategy strategy, int quantity, boolean isTargetOfAction, OrderEntryRAO... orderEntryRAO)Methods in de.hybris.platform.ruleengineservices.calculation with parameters of type EntriesSelectionStrategyRPD Modifier and Type Method Description java.util.Map<java.lang.Integer,java.lang.Integer>EntriesSelectionStrategy. pickup(EntriesSelectionStrategyRPD strategy, java.util.Map<java.lang.Integer,java.lang.Integer> consumableQuantities)Evaluates what Order Entries and how many units of each of them should be picked up to be used. -
Uses of EntriesSelectionStrategyRPD in de.hybris.platform.ruleengineservices.calculation.impl
Methods in de.hybris.platform.ruleengineservices.calculation.impl with parameters of type EntriesSelectionStrategyRPD Modifier and Type Method Description protected abstract java.util.List<OrderEntryRAO>AbstractEntriesSelectionStrategy. getOrderEntriesToProcess(EntriesSelectionStrategyRPD strategy)Provides ordered list of Order Entriesprotected java.util.List<OrderEntryRAO>CheapestEntriesSelectionStrategy. getOrderEntriesToProcess(EntriesSelectionStrategyRPD strategy)Gets ordered list of Order Entries from strategy according to product prices comparing OrderEntryRAO.price - the cheapest first.protected java.util.List<OrderEntryRAO>MostExpensiveEntriesSelectionStrategy. getOrderEntriesToProcess(EntriesSelectionStrategyRPD strategy)Gets ordered list of Order Entries from strategy according to product prices comparing OrderEntryRAO.price - most expensive first.java.util.Map<java.lang.Integer,java.lang.Integer>AbstractEntriesSelectionStrategy. pickup(EntriesSelectionStrategyRPD strategy, java.util.Map<java.lang.Integer,java.lang.Integer> consumableQuantities) -
Uses of EntriesSelectionStrategyRPD in de.hybris.platform.ruleengineservices.rao.util
Methods in de.hybris.platform.ruleengineservices.rao.util that return EntriesSelectionStrategyRPD Modifier and Type Method Description EntriesSelectionStrategyRPDDefaultRaoService. createEntriesSelectionStrategyRPD() -
Uses of EntriesSelectionStrategyRPD in de.hybris.platform.ruleengineservices.rule.evaluation.actions
Methods in de.hybris.platform.ruleengineservices.rule.evaluation.actions that return EntriesSelectionStrategyRPD Modifier and Type Method Description protected EntriesSelectionStrategyRPDAbstractRulePartnerProductAction. createSelectionStrategyRPD(OrderEntrySelectionStrategy selectionStrategy, java.lang.Integer quantity, java.util.Set<OrderEntryRAO> orderEntries, boolean isAction)Methods in de.hybris.platform.ruleengineservices.rule.evaluation.actions that return types with arguments of type EntriesSelectionStrategyRPD Modifier and Type Method Description 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)Method parameters in de.hybris.platform.ruleengineservices.rule.evaluation.actions with type arguments of type EntriesSelectionStrategyRPD Modifier and Type Method Description intRAOConsumptionSupport. adjustStrategyQuantity(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs)Adjusts the quantity fields of EntriesSelectionStrategyRPD such that the maximum possible number of entries will be consumed by the action.intRAOConsumptionSupport. adjustStrategyQuantity(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs, int maxCount)Adjusts the quantity fields of EntriesSelectionStrategyRPD such that the maximum possible number of entries will be consumed by the action.<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.java.util.Map<java.lang.Integer,java.lang.Integer>RAOConsumptionSupport. getEligibleEntryQuantities(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs)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.java.util.Set<OrderEntryRAO>RAOConsumptionSupport. getSelectedOrderEntryRaos(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs, java.util.Map<java.lang.Integer,java.lang.Integer> selectedOrderEntryMap)Gets Order Entry set to be discounted as a result of bundle processing.booleanRAOConsumptionSupport. hasEnoughQuantity(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs)Checks if allentriesSelectionStrategyRPDshave enough quantity.protected voidAbstractRuleExecutableSupport. splitEntriesSelectionStrategies(java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs, java.util.List<EntriesSelectionStrategyRPD> selectionStrategyRPDsForAction, java.util.List<EntriesSelectionStrategyRPD> selectionStrategyRPDsForTriggering)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 EntriesSelectionStrategyRPD in de.hybris.platform.ruleengineservices.rule.evaluation.actions.impl
Methods in de.hybris.platform.ruleengineservices.rule.evaluation.actions.impl with parameters of type EntriesSelectionStrategyRPD Modifier and Type Method Description protected voidDefaultRAOConsumptionSupport. putEligibleEntryQuantities(java.util.Map<java.lang.Integer,java.lang.Integer> entriesToBeConsumedMap, EntriesSelectionStrategyRPD strategy)Method parameters in de.hybris.platform.ruleengineservices.rule.evaluation.actions.impl with type arguments of type EntriesSelectionStrategyRPD Modifier and Type Method Description 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)intDefaultRAOConsumptionSupport. adjustStrategyQuantity(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs)intDefaultRAOConsumptionSupport. adjustStrategyQuantity(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs, int maxCount)<T extends AbstractRuleActionRAO>
voidDefaultRAOConsumptionSupport. consumeOrderEntries(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> strategies, T actionRAO)java.util.Map<java.lang.Integer,java.lang.Integer>DefaultRAOConsumptionSupport. getEligibleEntryQuantities(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs)java.util.Map<java.lang.Integer,java.lang.Integer>DefaultRAOConsumptionSupport. getSelectedOrderEntryQuantities(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> strategies)java.util.Set<OrderEntryRAO>DefaultRAOConsumptionSupport. getSelectedOrderEntryRaos(java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs, java.util.Map<java.lang.Integer,java.lang.Integer> selectedOrderEntryMap)booleanDefaultRAOConsumptionSupport. hasEnoughQuantity(RuleActionContext context, java.util.Collection<EntriesSelectionStrategyRPD> selectionStrategyRPDs)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)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)
-