| Modifier and Type | Method and Description |
|---|---|
AddCouponRAO |
AddCouponRAOAction.addCoupon(AbstractActionedRAO appliedToObject,
String couponId,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
Adds a coupon with specified Id as a result of promotion.
|
| Modifier and Type | Method and Description |
|---|---|
AddCouponRAO |
DefaultAddCouponRAOAction.addCoupon(AbstractActionedRAO appliedToObject,
String couponId,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<DiscountRAO> |
DefaultAddFreeProductDiscountAction.addDiscount(EntriesSelectionStrategyRPD entriesSelectionStrategyRPD,
int quantity,
int consumed,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
protected List<DiscountRAO> |
DefaultAddOrderEntryDiscountRAOAction.addDiscountAndConsume(List<EntriesSelectionStrategyRPD> selectionStrategies,
boolean absolute,
BigDecimal price,
RuleEngineResultRAO result,
KnowledgeHelper context)
Deprecated.
|
List<DiscountRAO> |
DefaultAddFixedPriceEntryDiscountRAOAction.addFixedPriceEntriesDiscount(List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal fixedPrice,
int maxQuantity,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
DiscountRAO |
DefaultAddFixedPriceEntryDiscountRAOAction.addFixedPriceEntryDiscount(OrderEntryRAO orderEntryRao,
BigDecimal fixedPrice,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
List<DiscountRAO> |
DefaultAddFixedPriceEntryDiscountRAOAction.addFixedPriceEntryDiscounts(Collection<OrderEntryRAO> orderEntryList,
BigDecimal fixedPrice,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
FreeProductRAO |
DefaultAddProductToCartRAOAction.addFreeProductsToCart(CartRAO cartRao,
String productCode,
int quantity,
Collection<EntriesSelectionStrategyRPD> strategies,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
FreeProductRAO |
DefaultAddProductToCartRAOAction.addFreeProductsToCart(CartRAO cartRao,
String productCode,
int quantity,
OrderEntryRAO triggeringEntry,
int triggeringEntryQuantity,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
List<DiscountRAO> |
DefaultAddOrderEntryGroupFixedPriceDiscountRAOAction.addOrderEntryGroupFixedPriceDiscount(AbstractOrderRAO order,
List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal targetPrice,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
List<DiscountRAO> |
DefaultAddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscount(List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
DiscountRAO |
DefaultAddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
List<DiscountRAO> |
DefaultAddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscounts(Collection<OrderEntryRAO> orderEntryList,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
DiscountRAO |
DefaultAddOrderDiscountRAOAction.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
DiscountRAO |
DefaultAddOrderDiscountRAOAction.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount,
String[] excludedProducts,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
DiscountRAO |
DefaultAddProductDiscountRAOAction.addProductDiscount(ProductRAO productRao,
boolean absolute,
String currencyIsoCode,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
ShipmentRAO |
DefaultChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
DeliveryModeRAO mode,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
ShipmentRAO |
DefaultChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
String deliveryModeCode,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
DisplayMessageRAO |
DefaultDisplayMessageRAOAction.fireMessage(AbstractActionedRAO appliedToObject,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
RuleEngineResultRAO |
DefaultDroolsRuleActionContext.getRuleEngineResultRao() |
| Modifier and Type | Method and Description |
|---|---|
protected RuleEngineResultRAO |
DefaultCommerceRuleEngineService.addRuleEngineResultRAO(RuleEvaluationContext context)
Adds a RuleEngineResultRAO to the facts of this context if it doesn't exist already.
|
| Modifier and Type | Method and Description |
|---|---|
List<ItemModel> |
DefaultPromotionRuleActionService.applyAllActions(RuleEngineResultRAO ruleEngineResultRAO) |
| Modifier and Type | Method and Description |
|---|---|
RuleEngineResultRAO |
RuleEvaluationResult.getResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
RuleEvaluationResult.setResult(RuleEngineResultRAO result) |
| Modifier and Type | Method and Description |
|---|---|
List<ItemModel> |
RuleActionService.applyAllActions(RuleEngineResultRAO ruleEngineResultRAO)
Applies Actions of Rule Engine Result in a way specific to an Action instance that can change current state of
related to the Action object entities (Order, OrderEntries etc.).
|
| Modifier and Type | Method and Description |
|---|---|
List<ItemModel> |
DefaultRuleActionService.applyAllActions(RuleEngineResultRAO ruleEngineResultRAO)
Takes a RuleEngineResultRAO as argument and gets list of it Actions, then for each Action applies corresponding
RuleActionStrategy specified by it strategy field.
|
| Modifier and Type | Method and Description |
|---|---|
RuleEngineResultRAO |
RuleActionContext.getRuleEngineResultRao()
Get rule engine result RAO
|
| Modifier and Type | Method and Description |
|---|---|
List<DiscountRAO> |
AddFreeProductDiscountAction.addDiscount(EntriesSelectionStrategyRPD entriesSelectionStrategyRPD,
int quantity,
int consumed,
RuleEngineResultRAO result,
Object ruleContext)
Adds order level discounts to order entries contained within selection strategies.
|
List<DiscountRAO> |
AddFixedPriceEntryDiscountRAOAction.addFixedPriceEntriesDiscount(List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal fixedPrice,
int maxQuantity,
RuleEngineResultRAO result,
Object ruleContext)
Adds order entry level discounts to the order entries selected by strategies from
entriesSelectionStrategyRPDs which are marked to be target for the action. |
DiscountRAO |
AddFixedPriceEntryDiscountRAOAction.addFixedPriceEntryDiscount(OrderEntryRAO orderEntryRao,
BigDecimal fixedPrice,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order entry level discount to the given
orderEntryRao such that the final price of the discounted
order entry will be the fixedPrice. |
List<DiscountRAO> |
AddFixedPriceEntryDiscountRAOAction.addFixedPriceEntryDiscounts(Collection<OrderEntryRAO> orderEntryRao,
BigDecimal fixedPrice,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order entry level discount to each of the the given
orderEntryRao such that the final price of the
discounted order entry will be the fixedPrice. |
FreeProductRAO |
AddProductToCartRAOAction.addFreeProductsToCart(CartRAO cartRao,
String productCode,
int quantity,
Collection<EntriesSelectionStrategyRPD> strategies,
RuleEngineResultRAO result,
Object ruleContext)
Adds free product items to the cart.
|
FreeProductRAO |
AddProductToCartRAOAction.addFreeProductsToCart(CartRAO cartRao,
String productCode,
int quantity,
OrderEntryRAO triggeringEntry,
int triggeringEntryQuantity,
RuleEngineResultRAO result,
Object ruleContext)
Adds free product items to the cart.
|
List<DiscountRAO> |
AddOrderEntryGroupFixedPriceDiscountRAOAction.addOrderEntryGroupFixedPriceDiscount(AbstractOrderRAO order,
List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal targetPrice,
RuleEngineResultRAO result,
Object ruleContext)
Sets the target price
targetPrice to a group of products, selecting them from order entries according to
the given entriesSelectionStrategyRPDs. |
List<DiscountRAO> |
AddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscount(List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Adds order entry level discounts to the order entries selected by strategies from
entriesSelectionStrategyRPDs which are marked to be target for the action. |
DiscountRAO |
AddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscount(OrderEntryRAO orderEntryRao,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order entry level discount to the given
orderEntryRao, recalculates the cart totals and returns
the discount. |
List<DiscountRAO> |
AddOrderEntryDiscountRAOAction.addOrderEntryLevelDiscounts(Collection<OrderEntryRAO> orderEntryList,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order entry level discount for each order entry element in
orderEntryList, recalculates the cart
totals and returns the discount. |
DiscountRAO |
AddOrderDiscountRAOAction.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order level discount to the given
cartRao, recalculates the cart totals and returns the discount. |
DiscountRAO |
AddOrderDiscountRAOAction.addOrderLevelDiscount(CartRAO cartRao,
boolean absolute,
BigDecimal amount,
String[] excludedProducts,
RuleEngineResultRAO result,
Object ruleContext)
Adds an order-level discount to the
cartRao and recalculates cart totals. |
DiscountRAO |
AddProductDiscountRAOAction.addProductDiscount(ProductRAO productRao,
boolean absolute,
String currencyIsoCode,
BigDecimal amount,
RuleEngineResultRAO result,
Object ruleContext)
Adds a discount to the given
productRao and returns the discount. |
ShipmentRAO |
ChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
DeliveryModeRAO mode,
RuleEngineResultRAO result,
Object ruleContext)
Changes the current delivery mode to the given values, adds it to the cartRao and recalculates the carRao totals.
|
ShipmentRAO |
ChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
String deliveryModeCode,
RuleEngineResultRAO result,
Object ruleContext)
Changes the current delivery mode to the given values, adds it to the cartRao and recalculates the carRao totals.
|
DisplayMessageRAO |
DisplayMessageRAOAction.fireMessage(AbstractActionedRAO appliedToObject,
RuleEngineResultRAO result,
Object ruleContext)
Fires a message as a Rule Action.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<DiscountRAO> |
RulePartnerOrderEntryFixedDiscountRAOAction.addDiscountAndConsume(RuleActionContext context,
List<EntriesSelectionStrategyRPD> selectionStrategies,
boolean absolute,
BigDecimal price,
RuleEngineResultRAO result) |
void |
RuleChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
DeliveryModeRAO mode,
RuleEngineResultRAO result,
RuleActionContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected RuleEngineResultRAO |
AbstractProductConfigRAOActionTest.getResult() |
Copyright © 2017 SAP SE. All Rights Reserved.