Class DiscountValuePromotionEngineResultPopulator
- java.lang.Object
-
- de.hybris.platform.promotionengineservices.promotionengine.report.populators.DiscountValuePromotionEngineResultPopulator
-
- All Implemented Interfaces:
Populator<DiscountValue,PromotionEngineResult>
public class DiscountValuePromotionEngineResultPopulator extends java.lang.Object implements Populator<DiscountValue,PromotionEngineResult>
Populator responsible for populatingPromotionResultModelassociated with providedDiscountValuedata intoPromotionEngineResult
-
-
Constructor Summary
Constructors Constructor Description DiscountValuePromotionEngineResultPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Populator<PromotionResultModel,PromotionEngineResult>getPromotionResultPopulator()protected PromotionResultServicegetPromotionResultService()protected RuleBasedPromotionActionDaogetRuleBasedPromotionActionDao()voidpopulate(DiscountValue source, PromotionEngineResult target)Populate the target instance with values from the source instance.voidsetPromotionResultPopulator(Populator<PromotionResultModel,PromotionEngineResult> promotionResultPopulator)voidsetPromotionResultService(PromotionResultService promotionResultService)voidsetRuleBasedPromotionActionDao(RuleBasedPromotionActionDao ruleBasedPromotionActionDao)
-
-
-
Method Detail
-
populate
public void populate(DiscountValue source, PromotionEngineResult target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<DiscountValue,PromotionEngineResult>- Parameters:
source- the source objecttarget- the target to fill
-
getRuleBasedPromotionActionDao
protected RuleBasedPromotionActionDao getRuleBasedPromotionActionDao()
-
setRuleBasedPromotionActionDao
public void setRuleBasedPromotionActionDao(RuleBasedPromotionActionDao ruleBasedPromotionActionDao)
-
getPromotionResultService
protected PromotionResultService getPromotionResultService()
-
setPromotionResultService
public void setPromotionResultService(PromotionResultService promotionResultService)
-
getPromotionResultPopulator
protected Populator<PromotionResultModel,PromotionEngineResult> getPromotionResultPopulator()
-
setPromotionResultPopulator
public void setPromotionResultPopulator(Populator<PromotionResultModel,PromotionEngineResult> promotionResultPopulator)
-
-