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