| Modifier and Type | Method and Description |
|---|---|
void |
RuleGiveCouponAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RuleAddCouponRAOAction.addCoupon(RuleActionContext context,
String couponId) |
void |
RuleAddCouponRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultDroolsRuleActionContext
Default implementation of
RuleActionContext for the drools rule engine. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
QualifyingProductPotentialPromotionMessageActionSupplementStrategy.isActionProperToHandle(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters) |
boolean |
QualifyingCategoryPotentialPromotionMessageActionSupplementStrategy.isActionProperToHandle(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters) |
boolean |
CartTotalThresholdPotentialPromotionMessageActionSupplementStrategy.isActionProperToHandle(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters) |
void |
QualifyingProductPotentialPromotionMessageActionSupplementStrategy.postProcessAction(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters) |
void |
QualifyingCategoryPotentialPromotionMessageActionSupplementStrategy.postProcessAction(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters) |
void |
CartTotalThresholdPotentialPromotionMessageActionSupplementStrategy.postProcessAction(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
RuleFreeGiftAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RuleOrderEntryFixedPriceAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
AbstractRAOActionAware.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Execute abstract action.
|
void |
RulePartnerOrderEntryPercentageDiscountAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RuleOrderEntryPercentageDiscountAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RuleOrderEntryFixedDiscountAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RuleChangeDeliveryModeAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RulePartnerOrderEntryFixedDiscountAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RuleOrderFixedDiscountAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RulePartnerOrderEntryFixedPriceAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RuleTriggerMessageAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RuleOrderPercentageDiscountAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
void |
RuleTargetBundlePriceAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RuleExecutableAction.executeAction(RuleActionContext context,
Map<String,Object> parameters)
execute rule consequence
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractRuleExecutableSupport.addMetadataToRao(AbstractRuleActionRAO rao,
RuleActionContext context) |
protected KnowledgeHelper |
AbstractRuleExecutableSupport.checkAndGetRuleContext(RuleActionContext context)
Checks that the given
ruleContext is of type KnowledgeHelper (i.e. |
protected List<EntriesSelectionStrategyRPD> |
AbstractRulePartnerProductAction.createSelectionStrategyRPDsQualifyingProducts(RuleActionContext context,
OrderEntrySelectionStrategy selectionStrategy,
Map<String,Integer> qualifyingProductsContainers) |
protected List<EntriesSelectionStrategyRPD> |
AbstractRulePartnerProductAction.createSelectionStrategyRPDsTargetProducts(RuleActionContext context,
OrderEntrySelectionStrategy selectionStrategy,
Map<String,Integer> targetProductsContainers) |
protected Optional<BigDecimal> |
AbstractRuleExecutableSupport.extractAmountForCurrency(RuleActionContext context,
Object currencyAmount) |
protected <T> Optional<T> |
AbstractRuleExecutableSupport.extractFact(RuleActionContext context,
Predicate<Object> objectFilter) |
protected Map<String,String> |
AbstractRuleExecutableSupport.getMetaDataFromRule(RuleActionContext context) |
protected String |
AbstractRuleExecutableSupport.getMetaDataFromRule(RuleActionContext context,
String key)
Returns the rule's meta-data for the given key (or
null). |
protected Set<OrderEntryRAO> |
AbstractRulePartnerProductAction.getOrderEntries(RuleActionContext context,
Map.Entry<String,Integer> entry) |
protected String |
AbstractRuleExecutableSupport.getRuleCode(RuleActionContext context)
Returns the rule's rule code meta data.
|
protected RuleConfigurationRRD |
AbstractRuleExecutableSupport.getRuleConfigurationRRD(String ruleCode,
RuleActionContext context)
retrieves the RuleConfigurationRRD for the given ruleCode from the given context.
|
protected RuleGroupExecutionRRD |
AbstractRuleExecutableSupport.getRuleGroupExecutionRRD(String ruleGroupCode,
RuleActionContext context)
retrieves the RuleGroupExecutionRRD for the given ruleGroupCode from the given context.
|
boolean |
ActionSupplementStrategy.isActionProperToHandle(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters)
Checks if the action result is proper to be processed by the strategy
|
protected boolean |
AbstractRuleExecutableSupport.mergeDiscounts(RuleActionContext context,
DiscountRAO discountRao,
OrderEntryRAO entry) |
void |
RAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters)
perform action on RAO objects
|
protected void |
AbstractRuleExecutableSupport.postProcessAction(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters) |
void |
ActionSupplementStrategy.postProcessAction(AbstractRuleActionRAO actionRao,
RuleActionContext context,
Map<String,Object> parameters)
Post process of
AbstractRuleActionRAO. |
void |
AbstractRuleExecutableSupport.setRAOMetaData(RuleActionContext context,
AbstractRuleActionRAO... raos) |
protected void |
AbstractRuleExecutableSupport.trackRuleExecution(RuleActionContext context)
Tracks this rule's execution by incrementing the
RuleConfigurationRRD.getCurrentRuns() for the currently
executing rule. |
protected void |
AbstractRuleExecutableSupport.trackRuleGroupExecutions(RuleActionContext context)
Adds this rule's execution to all RuleGroupExecutionRRD for each of this rule's defined ruleGroups.
|
protected void |
AbstractRuleExecutableSupport.validateRule(RuleActionContext context)
Validates that the required meta-data is available.
|
protected void |
AbstractRuleExecutableSupport.validateSelectionStrategy(Collection<EntriesSelectionStrategyRPD> strategies,
RuleActionContext context)
Validates
entriesSelectionStrategyRPDs checking 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. |
| Modifier and Type | Method and Description |
|---|---|
protected List<DiscountRAO> |
RuleOrderEntryPercentageDiscountWithStrategyRAOAction.addDiscountAndConsume(RuleActionContext context,
List<EntriesSelectionStrategyRPD> selectionStrategies,
boolean absolute,
BigDecimal price) |
protected List<DiscountRAO> |
RulePartnerOrderEntryPercentageDiscountRAOAction.addDiscountAndConsume(RuleActionContext context,
List<EntriesSelectionStrategyRPD> selectionStrategies,
boolean absolute,
BigDecimal price) |
protected List<DiscountRAO> |
RulePartnerOrderEntryFixedDiscountRAOAction.addDiscountAndConsume(RuleActionContext context,
List<EntriesSelectionStrategyRPD> selectionStrategies,
boolean absolute,
BigDecimal price,
RuleEngineResultRAO result) |
protected List<DiscountRAO> |
RuleAddFreeProductDiscountRAOAction.addFreeOrderEntryLevelDiscount(Collection<EntriesSelectionStrategyRPD> strategies,
int consumeableQty,
RuleActionContext context) |
void |
RuleChangeDeliveryModeRAOAction.changeDeliveryMode(CartRAO cartRao,
DeliveryModeRAO mode,
RuleEngineResultRAO result,
RuleActionContext context) |
protected ProductModel |
RuleFreeGiftRAOAction.findProduct(String productCode,
RuleActionContext context) |
protected Optional<ProductModel> |
RuleFreeGiftToBundleRAOAction.findProduct(String productCode,
RuleActionContext context) |
protected DisplayMessageRAO |
RuleTriggerMessageRAOAction.performAction(RuleActionContext context) |
protected void |
RuleAddProductPercentageDiscountRAOAction.performAction(RuleActionContext context,
BigDecimal amount) |
protected void |
RuleOrderPercentageDiscountRAOAction.performAction(RuleActionContext context,
BigDecimal amount) |
protected void |
RuleOrderFixedDiscountRAOAction.performAction(RuleActionContext context,
BigDecimal amount) |
protected void |
RuleAddFreeProductDiscountRAOAction.performAction(RuleActionContext context,
Collection<EntriesSelectionStrategyRPD> strategies,
int quantity,
int consumed) |
protected void |
RuleOrderEntryPercentageDiscountWithStrategyRAOAction.performAction(RuleActionContext context,
List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal amount) |
protected void |
RulePartnerOrderEntryPercentageDiscountRAOAction.performAction(RuleActionContext context,
List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal amount) |
protected void |
RuleTargetBundlePriceRAOAction.performAction(RuleActionContext context,
List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal amount) |
protected void |
RulePartnerOrderEntryFixedDiscountRAOAction.performAction(RuleActionContext context,
List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal amount) |
void |
RulePartnerOrderEntryFixedPriceRAOAction.performAction(RuleActionContext context,
List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal amount) |
protected void |
RuleOrderEntryGroupFixedDiscountRAOAction.performAction(RuleActionContext context,
List<EntriesSelectionStrategyRPD> strategies,
BigDecimal targetPrice) |
protected void |
RuleOrderPercentageDiscountExcludedProductsRAOAction.performAction(RuleActionContext context,
List<String> excludedProducts,
BigDecimal threshold,
BigDecimal amount) |
void |
RuleOrderPercentageDiscountExcludedProductsRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleFreeGiftRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleAddFreeProductDiscountRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleChangeDeliveryModeRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleOrderEntryFixedPriceRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleAddProductPercentageDiscountRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleOrderEntryPercentageDiscountRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleOrderEntryPercentageDiscountWithStrategyRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RulePartnerOrderEntryPercentageDiscountRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleTargetBundlePriceRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleOrderPercentageDiscountRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleTriggerMessageRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RulePartnerOrderEntryFixedDiscountRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleOrderFixedDiscountRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RulePartnerOrderEntryFixedPriceRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleFreeGiftToBundleRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleOrderEntryFixedDiscountRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RuleOrderEntryGroupFixedDiscountRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
protected void |
RuleOrderEntryFixedPriceRAOAction.performAction(RuleActionContext context,
OrderEntryRAO orderEntryRao,
BigDecimal valueForCurrency) |
protected void |
RuleOrderEntryFixedDiscountRAOAction.performAction(RuleActionContext context,
OrderEntryRAO orderEntryRao,
BigDecimal valueForCurrency) |
protected void |
RuleChangeDeliveryModeRAOAction.performAction(RuleActionContext context,
String deliveryModeCode) |
protected void |
RuleFreeGiftToBundleRAOAction.performAction(RuleActionContext context,
String productCode,
Collection<EntriesSelectionStrategyRPD> strategies,
Integer quantity) |
protected void |
RuleFreeGiftRAOAction.performAction(RuleActionContext context,
String productCode,
Integer quantity) |
protected void |
RuleOrderEntryPercentageDiscountRAOAction.processOrderEntry(RuleActionContext context,
OrderEntryRAO orderEntryRao,
BigDecimal value) |
| Modifier and Type | Method and Description |
|---|---|
protected RuleActionContext |
AbstractProductConfigRAOActionTest.getContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
SetCsticValueRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
DisplayMessageRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
DisplayCsticReadonlyRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
HideCsticRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
void |
RemoveAssignableValueRAOAction.performAction(RuleActionContext context,
Map<String,Object> parameters) |
protected String |
SetCsticValueRAOAction.prepareActionLogText(RuleActionContext context,
Map<String,Object> parameters) |
protected abstract String |
ProductConfigAbstractRAOAction.prepareActionLogText(RuleActionContext context,
Map<String,Object> parameters) |
protected String |
DisplayMessageRAOAction.prepareActionLogText(RuleActionContext context,
Map<String,Object> parameters) |
protected String |
DisplayCsticReadonlyRAOAction.prepareActionLogText(RuleActionContext context,
Map<String,Object> parameters) |
protected String |
HideCsticRAOAction.prepareActionLogText(RuleActionContext context,
Map<String,Object> parameters) |
protected String |
RemoveAssignableValueRAOAction.prepareActionLogText(RuleActionContext context,
Map<String,Object> parameters) |
protected void |
ProductConfigAbstractRAOAction.updateContext(RuleActionContext context,
AbstractRuleActionRAO actionRAO) |
protected boolean |
ProductConfigAbstractRAOAction.validateProcessStep(RuleActionContext context,
Map<String,Object> parameters,
ProcessStep... expectedProcessSteps) |
protected void |
ProductConfigAbstractRAOAction.validateRuleAndLog(RuleActionContext context,
Map<String,Object> parameters,
String... parameterNames) |
Copyright © 2017 SAP SE. All Rights Reserved.