Coverage Report - org.kuali.student.enrollment.class1.lpr.dao.LprRosterDao
 
Classes in this File Line Coverage Branch Coverage Complexity
LprRosterDao
0%
0/3
N/A
1
 
 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.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" /*and  :luiId MEMBER OF m.associatedLuis */).setParameter("lprRosterTypeKey", lprRosterTypeKey)/*.setParameter("luiId",luiId)*/.getResultList();
 12  
     }
 13  
 
 14  
      public List<LprRosterEntity> getLprRostersByLui(String luiId){
 15  0
         return em.createQuery("from LprRosterEntity m" /*where :luiId MEMBER OF m.associatedLuis */)/*.setParameter("luiId",luiId)*/.getResultList();
 16  
     }
 17  
 
 18  
 }