@Repository(value="blEmailTemplateDao") public class EmailTemplateDaoImpl extends Object implements EmailTemplateDao
Modifier and Type | Field and Description |
---|---|
protected Date |
cachedDate |
protected Long |
currentDateResolution |
protected javax.persistence.EntityManager |
em |
Constructor and Description |
---|
EmailTemplateDaoImpl() |
Modifier and Type | Method and Description |
---|---|
List<EmailTemplate> |
readActiveTemplatesByType(org.broadleafcommerce.common.notification.service.type.NotificationEventType type) |
EmailTemplate |
readById(Long id) |
EmailTemplate |
save(EmailTemplate emailTemplate) |
protected javax.persistence.EntityManager em
protected Long currentDateResolution
protected Date cachedDate
public EmailTemplate save(EmailTemplate emailTemplate)
save
in interface EmailTemplateDao
public EmailTemplate readById(Long id)
readById
in interface EmailTemplateDao
public List<EmailTemplate> readActiveTemplatesByType(org.broadleafcommerce.common.notification.service.type.NotificationEventType type)
readActiveTemplatesByType
in interface EmailTemplateDao
Copyright © 2020. All rights reserved.