@Repository public class JPAReportDAO extends AbstractDAO<Report> implements ReportDAO
LOG
Constructor and Description |
---|
JPAReportDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(Report report) |
void |
delete(String key) |
Report |
find(String key) |
List<Report> |
findAll() |
List<Report> |
findByReportlet(Implementation reportlet) |
List<Report> |
findByTemplate(ReportTemplate template) |
Report |
save(Report report) |
clear, detach, entityManager, entityManagerFactory, refresh
@Transactional(readOnly=true) public Report find(String key)
public List<Report> findByReportlet(Implementation reportlet)
findByReportlet
in interface ReportDAO
@Transactional(readOnly=true) public List<Report> findByTemplate(ReportTemplate template)
findByTemplate
in interface ReportDAO
@Transactional(readOnly=true) public List<Report> findAll()
@Transactional(rollbackFor=java.lang.Throwable.class) public Report save(Report report)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.