DefaultRuleService should be used instead@Deprecated public class DefaultPromotionSourceRuleService extends Object implements PromotionSourceRuleService
| Constructor and Description |
|---|
DefaultPromotionSourceRuleService()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
PromotionSourceRuleModel |
createPromotionRuleFromTemplate(PromotionSourceRuleTemplateModel ruleTemplate)
Deprecated.
Creates new promotion rule from given promotion rule template.
|
List<PromotionSourceRuleModel> |
getAllToBePublishedRules()
Deprecated.
Gets all
PromotionSourceRuleModels of promotion type |
CommonI18NService |
getCommonI18NService()
Deprecated.
|
ModelService |
getModelService()
Deprecated.
|
RuleDao |
getRuleDao()
Deprecated.
|
KeyGenerator |
getSourceRuleCodeGenerator()
Deprecated.
|
void |
setCommonI18NService(CommonI18NService commonI18NService)
Deprecated.
|
void |
setModelService(ModelService modelService)
Deprecated.
|
void |
setRuleDao(RuleDao ruleDao)
Deprecated.
|
void |
setSourceRuleCodeGenerator(KeyGenerator sourceRuleCodeGenerator)
Deprecated.
|
public DefaultPromotionSourceRuleService()
public List<PromotionSourceRuleModel> getAllToBePublishedRules()
PromotionSourceRuleServicePromotionSourceRuleModels of promotion typegetAllToBePublishedRules in interface PromotionSourceRuleServicePromotionSourceRuleModelspublic PromotionSourceRuleModel createPromotionRuleFromTemplate(PromotionSourceRuleTemplateModel ruleTemplate)
PromotionSourceRuleServicecreatePromotionRuleFromTemplate in interface PromotionSourceRuleServiceruleTemplate - - promotion rule template to clone to new ruleruleTemplate is null or not a template. Otherwise, new rule, which is a copy of the
given template.public RuleDao getRuleDao()
public void setRuleDao(RuleDao ruleDao)
public ModelService getModelService()
public void setModelService(ModelService modelService)
public KeyGenerator getSourceRuleCodeGenerator()
public void setSourceRuleCodeGenerator(KeyGenerator sourceRuleCodeGenerator)
public CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
Copyright © 2017 SAP SE. All Rights Reserved.