1 package org.kuali.student.enrollment.class1.lpr.dao;
2
3 import org.kuali.student.enrollment.class1.roster.model.LprRosterEntity;
4 import org.kuali.student.r2.common.dao.GenericEntityDao;
5
6 import java.util.List;
7
8 public class LprRosterDao extends GenericEntityDao<LprRosterEntity> {
9
10 public List<LprRosterEntity> getLprRostersByLuiAndRosterType(String luiId, String lprRosterTypeKey){
11 return em.createQuery("from LprRosterEntity m where m.lprRosterType.id=:lprRosterTypeKey"
12 }
13
14 public List<LprRosterEntity> getLprRostersByLui(String luiId){
15 return em.createQuery("from LprRosterEntity m"
16 }
17
18 }