@Service(value="blPromotionMessageDTOWrapperService") public class PromotionMessageDTOWrapperServiceImpl extends Object implements PromotionMessageDTOWrapperService, org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected org.broadleafcommerce.core.catalog.service.CatalogService |
catalogService |
protected List<org.broadleafcommerce.core.promotionMessage.service.PromotionMessageGenerator> |
generators |
Constructor and Description |
---|
PromotionMessageDTOWrapperServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,List<PromotionMessageDTOWrapper>> |
buildMapOfWrappers(javax.servlet.http.HttpServletRequest request,
Map<String,List<org.broadleafcommerce.core.promotionMessage.dto.PromotionMessageDTO>> promotionMessages) |
Map<String,List<PromotionMessageDTOWrapper>> |
findPromotionMessagesForProduct(javax.servlet.http.HttpServletRequest request,
Long productId)
Search for
PromotionMessages by Product |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected org.springframework.context.ApplicationContext applicationContext
protected org.broadleafcommerce.core.catalog.service.CatalogService catalogService
protected List<org.broadleafcommerce.core.promotionMessage.service.PromotionMessageGenerator> generators
public PromotionMessageDTOWrapperServiceImpl()
public Map<String,List<PromotionMessageDTOWrapper>> findPromotionMessagesForProduct(javax.servlet.http.HttpServletRequest request, Long productId)
PromotionMessageDTOWrapperService
PromotionMessages
by Product
findPromotionMessagesForProduct
in interface PromotionMessageDTOWrapperService
protected Map<String,List<PromotionMessageDTOWrapper>> buildMapOfWrappers(javax.servlet.http.HttpServletRequest request, Map<String,List<org.broadleafcommerce.core.promotionMessage.dto.PromotionMessageDTO>> promotionMessages)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2020. All rights reserved.