1 package org.kuali.student.r2.lum.lrc.dao; 2 3 import java.util.List; 4 import javax.persistence.Query; 5 import org.kuali.student.r2.lum.lrc.model.ResultScaleEntity; 6 import org.kuali.student.r2.common.dao.GenericEntityDao; 7 8 public class ResultScaleDao extends GenericEntityDao<ResultScaleEntity> { 9 10 public List<String> getIdsByType (String type) { 11 Query query = em.createNamedQuery("ResultScaleEntity.getIdsByType"); 12 query.setParameter("type", type); 13 return query.getResultList(); 14 } 15 }