@Repository public class JPANotificationDAO extends AbstractDAO<Notification> implements NotificationDAO
LOG
Constructor and Description |
---|
JPANotificationDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String key) |
Notification |
find(String key) |
List<Notification> |
findAll() |
List<Notification> |
findByRecipientsProvider(Implementation recipientsProvider) |
List<Notification> |
findByTemplate(MailTemplate template) |
Notification |
save(Notification notification) |
clear, detach, entityManager, entityManagerFactory, refresh
@Transactional(readOnly=true) public Notification find(String key)
find
in interface NotificationDAO
@Transactional(readOnly=true) public List<Notification> findByTemplate(MailTemplate template)
findByTemplate
in interface NotificationDAO
public List<Notification> findByRecipientsProvider(Implementation recipientsProvider)
findByRecipientsProvider
in interface NotificationDAO
@Transactional(readOnly=true) public List<Notification> findAll()
findAll
in interface NotificationDAO
public Notification save(Notification notification)
save
in interface NotificationDAO
public void delete(String key)
delete
in interface NotificationDAO
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.