| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCouponConditionResolutionStrategy.getAndStoreParameterValues(RuleConditionData condition,
PromotionSourceRuleModel rule,
RuleBasedPromotionModel promotion) |
| Modifier and Type | Method and Description |
|---|---|
RuleBasedPromotionModel |
CustomerCouponForPromotionSourceRuleModel.getPromotion()
Generated method - Getter of the
CustomerCouponForPromotionSourceRule.promotion attribute defined at extension customercouponservices. |
| Modifier and Type | Method and Description |
|---|---|
void |
CustomerCouponForPromotionSourceRuleModel.setPromotion(RuleBasedPromotionModel value)
Generated method - Initial setter of
CustomerCouponForPromotionSourceRule.promotion attribute defined at extension customercouponservices. |
| Constructor and Description |
|---|
CustomerCouponForPromotionSourceRuleModel(java.lang.String _customerCouponCode,
ItemModel _owner,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CustomerCouponForPromotionSourceRuleModel(java.lang.String _customerCouponCode,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConditionResolutionStrategy.getAndStoreParameterValues(RuleConditionData condition,
PromotionSourceRuleModel rule,
RuleBasedPromotionModel ruleBasedPromotion)
Gets the value from parameters of
condition and stores it together with the given
promotionSourceRule |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultProductConditionResolutionStrategy.getAndStoreParameterValues(RuleConditionData condition,
PromotionSourceRuleModel rule,
RuleBasedPromotionModel ruleBasedPromotion) |
void |
DefaultCatConditionResolutionStrategy.getAndStoreParameterValues(RuleConditionData condition,
PromotionSourceRuleModel rule,
RuleBasedPromotionModel ruleBasedPromotion) |
protected void |
DefaultCatConditionResolutionStrategy.processCategoriesOperatorParameter(PromotionSourceRuleModel rule,
RuleBasedPromotionModel ruleBasedPromotion,
java.util.List<java.lang.String> categoryCodes,
CollectionOperator categoriesOperator) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RuleBasedPromotionModel> |
PromotionSourceRuleDao.findPromotions(java.util.Collection<PromotionGroupModel> promotionGroups,
java.lang.String productCode,
java.util.Set<java.lang.String> categoryCodes)
Finds RuleBasedPromotionModels for given product code and category codes (but will exclude all rules for which the
corresponding
PromotionSourceRuleModel.getExcludeFromStorefrontDisplay() is set to true OR current
date is out of AbstractRuleModel.getStartDate(), AbstractRuleModel.getEndDate() date
range OR the rule status AbstractRuleModel.getStatus() is not PUBLISHED). |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RuleBasedPromotionModel> |
DefaultPromotionSourceRuleDao.findPromotions(java.util.Collection<PromotionGroupModel> promotionGroups,
java.lang.String productCode,
java.util.Set<java.lang.String> categoryCodes) |
protected java.util.List<RuleBasedPromotionModel> |
DefaultPromotionSourceRuleDao.findPromotions(java.util.Collection<PromotionGroupModel> promotionGroups,
java.lang.String productCode,
java.util.Set<java.lang.String> categoryCodes,
java.util.Date currentDate) |
| Modifier and Type | Method and Description |
|---|---|
protected RuleBasedPromotionModel |
PromotionRulePrepareInterceptor.createNewPromotionAndAddToRuleModel(AbstractRuleEngineRuleModel ruleModel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PromotionRulePrepareInterceptor.setLocalizedDescription(AbstractRuleModel rule,
RuleBasedPromotionModel promotion)
Copies attribute
name for all locals from given AbstractRuleModel to the promotionDescription of
given RuleBasedPromotionModel. |
protected boolean |
PromotionRulePrepareInterceptor.setLocalizedMessageFired(AbstractRuleEngineRuleModel engineRule,
RuleBasedPromotionModel promotion)
Copies attribute
messageFired for all locales from given AbstractRuleEngineRuleModel to given
RuleBasedPromotionModel. |
| Modifier and Type | Method and Description |
|---|---|
RuleBasedPromotionModel |
ProductForPromotionSourceRuleModel.getPromotion()
Generated method - Getter of the
ProductForPromotionSourceRule.promotion attribute defined at extension promotionengineservices. |
RuleBasedPromotionModel |
CombinedCatsForRuleModel.getPromotion()
Generated method - Getter of the
CombinedCatsForRule.promotion attribute defined at extension promotionengineservices. |
RuleBasedPromotionModel |
CatForPromotionSourceRuleModel.getPromotion()
Generated method - Getter of the
CatForPromotionSourceRule.promotion attribute defined at extension promotionengineservices. |
| Modifier and Type | Method and Description |
|---|---|
void |
ProductForPromotionSourceRuleModel.setPromotion(RuleBasedPromotionModel value)
Generated method - Initial setter of
ProductForPromotionSourceRule.promotion attribute defined at extension promotionengineservices. |
void |
CombinedCatsForRuleModel.setPromotion(RuleBasedPromotionModel value)
Generated method - Initial setter of
CombinedCatsForRule.promotion attribute defined at extension promotionengineservices. |
void |
CatForPromotionSourceRuleModel.setPromotion(RuleBasedPromotionModel value)
Generated method - Initial setter of
CatForPromotionSourceRule.promotion attribute defined at extension promotionengineservices. |
| Constructor and Description |
|---|
CatForPromotionSourceRuleModel(java.lang.String _categoryCode,
ItemModel _owner,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CatForPromotionSourceRuleModel(java.lang.String _categoryCode,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CombinedCatsForRuleModel(java.lang.String _categoryCode,
java.lang.Integer _conditionId,
ItemModel _owner,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CombinedCatsForRuleModel(java.lang.String _categoryCode,
java.lang.Integer _conditionId,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductForPromotionSourceRuleModel(ItemModel _owner,
java.lang.String _productCode,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ProductForPromotionSourceRuleModel(java.lang.String _productCode,
RuleBasedPromotionModel _promotion,
PromotionSourceRuleModel _rule)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
protected RuleBasedPromotionModel |
DefaultPromotionActionService.getPromotion(AbstractRuleActionRAO abstractRao)
returns the
RuleBasedPromotionModel for the given AbstractRuleActionRAO by looking up the rule
code as stored in AbstractRuleActionRAO.getFiredRuleCode(). |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.ArrayList<RuleBasedPromotionModel> |
DefaultPromotionEngineService.getPromotions(java.util.Collection<PromotionGroupModel> promotionGroups,
ProductModel product) |
protected java.util.List<RuleBasedPromotionModel> |
DefaultPromotionEngineService.getPromotionsForProduct(java.util.Collection<PromotionGroupModel> promotionGroups,
ProductModel product)
Get all promotions, sorted by priority, that could be applied for the given product and promotion groups.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DefaultPromotionEngineService.isApplicable(ProductModel product,
RuleBasedPromotionModel promotion) |
| Modifier and Type | Method and Description |
|---|---|
RuleBasedPromotionModel |
PromotionResultMockBuilder.createRuleBasedPromotion(java.lang.String code,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
RuleBasedPromotionModel |
RuleBasedPromotionResource.getRuleBasedPromotionModel()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
protected RuleBasedPromotionModel |
RuleBasedPromotionResource.readResource(java.lang.String resourceId)
Gets the
RuleBasedPromotionModel resource which is addressed by current resource request. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<RuleBasedPromotionModel> |
RuleBasedPromotionsResource.getRuleBasedPromotionsCollection()
Convenience method which just delegates to
AbstractResource.getResourceValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
RuleBasedPromotionResource.setRuleBasedPromotionModel(RuleBasedPromotionModel value)
Convenience method which just delegates to
#setResourceValue(RuleBasedPromotionModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
RuleBasedPromotionsResource.setRuleBasedPromotionsCollection(java.util.Collection<RuleBasedPromotionModel> value)
Convenience method which just delegates to
#setResourceValue(Collection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RuleBasedPromotionsContextValidator.isApplicable(RuleBasedPromotionModel ruleBasedPromotionModel,
CatalogVersionModel catalogVersion,
RuleType ruleType)
finds rule based promotions for the given catalog versions and rule type
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultRuleBasedPromotionsContextValidator.isApplicable(RuleBasedPromotionModel ruleBasedPromotion,
CatalogVersionModel catalogVersion,
RuleType ruleType) |
protected boolean |
DefaultRuleBasedPromotionsContextValidator.isNotLinkedWithDroolsRule(RuleBasedPromotionModel ruleBasedPromotion) |
protected boolean |
DefaultRuleBasedPromotionsContextValidator.isOutdated(RuleBasedPromotionModel ruleBasedPromotion) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.function.Consumer<RuleBasedPromotionModel> |
PromotionEngineHistoricalRuleContentProvider.backupOriginalValues(AbstractRuleEngineRuleModel historicalRuleModel) |
| Modifier and Type | Method and Description |
|---|---|
RuleBasedPromotionModel |
AbstractRuleEngineRuleModel.getPromotion()
Generated method - Getter of the
AbstractRuleEngineRule.promotion attribute defined at extension promotionengineservices. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRuleEngineRuleModel.setPromotion(RuleBasedPromotionModel value)
Generated method - Setter of
AbstractRuleEngineRule.promotion attribute defined at extension promotionengineservices. |
Copyright © 2018 SAP SE. All Rights Reserved.