public class RuleChangeDeliveryModeRAOAction extends AbstractRuleExecutableSupport
| Constructor and Description |
|---|
RuleChangeDeliveryModeRAOAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeDeliveryMode(CartRAO cartRao,
DeliveryModeRAO mode,
RuleEngineResultRAO result,
RuleActionContext context) |
protected java.util.function.Predicate<DeliveryModeRAO> |
getDeliveryModeRAOFilter(java.lang.String deliveryModeCode) |
protected boolean |
isFactDeliveryAndHasCode(java.lang.Object fact,
java.lang.String deliveryModeCode) |
protected boolean |
performAction(RuleActionContext context,
java.lang.String deliveryModeCode) |
boolean |
performActionInternal(RuleActionContext context)
template method called inside of
AbstractRuleExecutableSupport.performAction(RuleActionContext, Map) |
addMetadataToRao, adjustStrategyQuantity, adjustUnitPrice, adjustUnitPrice, allowedByRuntimeConfiguration, checkAndGetRuleContext, consumeOrderEntries, consumeOrderEntries, consumeOrderEntry, consumeOrderEntry, consumeOrderEntry, createOrderEntryConsumedRAO, extractAmountForCurrency, extractFact, filterByRuleGroup, getActionSupplementStrategies, getBeanName, getConfigurationService, getConsumableQuantity, getConsumableQuantityStackable, getCurrencyUtils, getEligibleEntryQuantities, getEntriesSelectionStrategies, getMetaDataFromRule, getMetaDataFromRule, getRaoUtils, getRuleCode, getRuleConfigurationRRD, getRuleConfigurationRRDFilter, getRuleEngineCalculationService, getRuleGroupExecutionRRD, getRuleGroupExecutionRRDFilter, getSelectedOrderEntryQuantities, getSelectedOrderEntryRaos, getSelectedOrderEntryRaosStackable, hasEnoughQuantity, lookupRAOByType, lookupRAOObjectsByType, mergeDiscounts, mergeOrderEntryConsumed, performAction, performAction, postProcessAction, putEligibleEntryQuantities, setActionSupplementStrategies, setBeanName, setConfigurationService, setCurrencyUtils, setEntriesSelectionStrategies, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, splitEntriesSelectionStrategies, trackActionExecution, trackConsumedProducts, trackRuleExecution, trackRuleGroupCode, trackRuleGroupExecution, trackRuleGroupExecutions, updateActionRAOWithConsumed, updateOrderConsumedQuantity, validateCurrencyIsoCode, validateParameters, validateRule, validateSelectionStrategypublic boolean performActionInternal(RuleActionContext context)
AbstractRuleExecutableSupportAbstractRuleExecutableSupport.performAction(RuleActionContext, Map)performActionInternal in class AbstractRuleExecutableSupportcontext - the contextprotected boolean performAction(RuleActionContext context, java.lang.String deliveryModeCode)
protected java.util.function.Predicate<DeliveryModeRAO> getDeliveryModeRAOFilter(java.lang.String deliveryModeCode)
public void changeDeliveryMode(CartRAO cartRao, DeliveryModeRAO mode, RuleEngineResultRAO result, RuleActionContext context)
protected boolean isFactDeliveryAndHasCode(java.lang.Object fact,
java.lang.String deliveryModeCode)
Copyright © 2018 SAP SE. All Rights Reserved.