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.ProcessEntity; |
5 | |
|
6 | |
import java.util.List; |
7 | |
|
8 | 0 | public class ProcessDao extends GenericEntityDao<ProcessEntity> { |
9 | |
|
10 | |
public List<ProcessEntity> getByProcessTypeId(String processTypeId) { |
11 | 0 | return em.createQuery("from ProcessEntity a where a.processType.id=:processTypeId").setParameter("processTypeId", processTypeId).getResultList(); |
12 | |
} |
13 | |
|
14 | |
} |