Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CheckDao |
|
| 1.0;1 |
1 | package org.kuali.student.r2.core.process.dao; | |
2 | ||
3 | import org.kuali.student.enrollment.dao.GenericEntityDao; | |
4 | import org.kuali.student.r2.core.process.model.CheckEntity; | |
5 | ||
6 | import java.util.List; | |
7 | ||
8 | 0 | public class CheckDao extends GenericEntityDao<CheckEntity> { |
9 | ||
10 | public List<CheckEntity> getByCheckTypeId(String checkTypeId) { | |
11 | 0 | return em.createQuery("from CheckEntity a where a.checkType.id=:checkTypeId").setParameter("checkTypeId", checkTypeId).getResultList(); |
12 | } | |
13 | } |