@Repository public class ReportingDaoImpl extends Object implements ReportingDao
Constructor and Description |
---|
ReportingDaoImpl() |
Modifier and Type | Method and Description |
---|---|
List<Submission> |
findAllSubmissions() |
List<Submission> |
findAllSubmissionsByParentId(Long id) |
Submission |
findSubmissionById(Long id) |
javax.persistence.EntityManager |
getEntityManager() |
Long |
saveAttachment(File file) |
Long |
saveSubmission(Submission submission) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public ReportingDaoImpl()
public List<Submission> findAllSubmissions()
findAllSubmissions
in interface ReportingDao
public List<Submission> findAllSubmissionsByParentId(Long id)
findAllSubmissionsByParentId
in interface ReportingDao
public Submission findSubmissionById(Long id)
findSubmissionById
in interface ReportingDao
public Long saveSubmission(Submission submission)
saveSubmission
in interface ReportingDao
public Long saveAttachment(File file)
saveAttachment
in interface ReportingDao
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2011–2014 The Kuali Foundation. All rights reserved.