@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 EmailTemplateDaopublic EmailTemplate readById(Long id)
readById in interface EmailTemplateDaopublic List<EmailTemplate> readActiveTemplatesByType(org.broadleafcommerce.common.notification.service.type.NotificationEventType type)
readActiveTemplatesByType in interface EmailTemplateDaoCopyright © 2020. All rights reserved.