@Repository public class JPANotificationDAO extends AbstractDAO<org.apache.syncope.core.persistence.api.entity.Notification> implements org.apache.syncope.core.persistence.api.dao.NotificationDAO
LOG
Constructor and Description |
---|
JPANotificationDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String key) |
org.apache.syncope.core.persistence.api.entity.Notification |
find(String key) |
List<org.apache.syncope.core.persistence.api.entity.Notification> |
findAll() |
List<org.apache.syncope.core.persistence.api.entity.Notification> |
findByTemplate(org.apache.syncope.core.persistence.api.entity.MailTemplate template) |
org.apache.syncope.core.persistence.api.entity.Notification |
save(org.apache.syncope.core.persistence.api.entity.Notification notification) |
clear, detach, entityManager, flush, refresh
@Transactional(readOnly=true) public org.apache.syncope.core.persistence.api.entity.Notification find(String key)
find
in interface org.apache.syncope.core.persistence.api.dao.NotificationDAO
@Transactional(readOnly=true) public List<org.apache.syncope.core.persistence.api.entity.Notification> findByTemplate(org.apache.syncope.core.persistence.api.entity.MailTemplate template)
findByTemplate
in interface org.apache.syncope.core.persistence.api.dao.NotificationDAO
@Transactional(readOnly=true) public List<org.apache.syncope.core.persistence.api.entity.Notification> findAll()
findAll
in interface org.apache.syncope.core.persistence.api.dao.NotificationDAO
public org.apache.syncope.core.persistence.api.entity.Notification save(org.apache.syncope.core.persistence.api.entity.Notification notification)
save
in interface org.apache.syncope.core.persistence.api.dao.NotificationDAO
public void delete(String key)
delete
in interface org.apache.syncope.core.persistence.api.dao.NotificationDAO
Copyright © 2010–2019 The Apache Software Foundation. All rights reserved.