Class RuleHaltRAOAction
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
-
- de.hybris.platform.ruleengineservices.rule.evaluation.actions.impl.RuleHaltRAOAction
-
- All Implemented Interfaces:
RAOAction,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class RuleHaltRAOAction extends AbstractRuleExecutableSupport
-
-
Constructor Summary
Constructors Constructor Description RuleHaltRAOAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanallowedByRuntimeConfiguration(RuleActionContext context)query method to allow for rule execution byRuleConfigurationRRDbooleanperformActionInternal(RuleActionContext context)template method called inside ofAbstractRuleExecutableSupport.performAction(RuleActionContext)protected voidvalidateParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)-
Methods inherited from class de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
addMetadataToRao, adjustStrategyQuantity, adjustUnitPrice, adjustUnitPrice, checkAndGetRuleContext, consumeOrderEntries, consumeOrderEntries, consumeOrderEntry, consumeOrderEntry, consumeOrderEntry, createOrderEntryConsumedRAO, extractAmountForCurrency, filterByRuleGroup, getActionSupplementStrategies, getBeanName, getConfigurationService, getConsumableQuantity, getConsumptionSupport, getCurrencyUtils, getEligibleEntryQuantities, getEntriesSelectionStrategies, getMetaDataFromRule, getMetaDataFromRule, getPriceAdjustmentStrategy, getRaoLookupService, getRaoUtils, getRuleCode, getRuleConfigurationRRD, getRuleConfigurationRRDFilter, getRuleEngineCalculationService, getRuleGroupExecutionRRD, getRuleGroupExecutionRRDFilter, getSelectedOrderEntryQuantities, getSelectedOrderEntryRaos, hasEnoughQuantity, isConsumptionEnabled, lookupRAOByType, lookupRAOObjectsByType, mergeDiscounts, mergeOrderEntryConsumed, performAction, postProcessAction, setActionSupplementStrategies, setBeanName, setConfigurationService, setConsumptionEnabled, setConsumptionSupport, setCurrencyUtils, setEntriesSelectionStrategies, setPriceAdjustmentStrategy, setRaoLookupService, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, shouldPerformAction, skipErrorLogging, splitEntriesSelectionStrategies, trackActionExecution, trackConsumedProducts, trackRuleExecution, trackRuleGroupCode, trackRuleGroupExecution, trackRuleGroupExecutions, updateActionRAOWithConsumed, validateCurrencyIsoCode, validateRule, validateSelectionStrategy
-
-
-
-
Method Detail
-
performActionInternal
public boolean performActionInternal(RuleActionContext context)
Description copied from class:AbstractRuleExecutableSupporttemplate method called inside ofAbstractRuleExecutableSupport.performAction(RuleActionContext)- Overrides:
performActionInternalin classAbstractRuleExecutableSupport- Parameters:
context- the context- Returns:
- true if the action was performed successfully, otherwise false
-
validateParameters
protected void validateParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
- Overrides:
validateParametersin classAbstractRuleExecutableSupport
-
allowedByRuntimeConfiguration
protected boolean allowedByRuntimeConfiguration(RuleActionContext context)
Description copied from class:AbstractRuleExecutableSupportquery method to allow for rule execution byRuleConfigurationRRD- Overrides:
allowedByRuntimeConfigurationin classAbstractRuleExecutableSupport- Parameters:
context- instance ofRuleActionContext- Returns:
- true if the execution is allowed
-
-