View Javadoc

1   package org.kuali.student.enrollment.class1.lpr.dao;
2   
3   import org.kuali.student.enrollment.class1.roster.model.LprRosterEntryEntity;
4   import org.kuali.student.r2.common.dao.GenericEntityDao;
5   
6   import java.util.List;
7   
8   public class LprRosterEntryDao  extends GenericEntityDao<LprRosterEntryEntity> {
9   
10       public List<LprRosterEntryEntity> getLprRosterEntriesForLprRoster(String lprRosterId){
11          return em.createQuery("from LprRosterEntryEntity m where m.lprRosterId=:lprRosterId").setParameter("lprRosterId", lprRosterId).getResultList();
12       }
13  }