| 1 | |
package org.kuali.student.enrollment.class1.lui.dao; |
| 2 | |
|
| 3 | |
import org.kuali.student.enrollment.class1.lui.model.LuiTypeEntity; |
| 4 | |
import org.kuali.student.enrollment.dao.GenericEntityDao; |
| 5 | |
|
| 6 | |
import java.util.List; |
| 7 | |
|
| 8 | 0 | public class LuiTypeDao extends GenericEntityDao<LuiTypeEntity>{ |
| 9 | |
|
| 10 | |
public List<LuiTypeEntity> getLuiTypesByRefObjectUri(String refObjectURI){ |
| 11 | 0 | return (List<LuiTypeEntity>) em.createQuery("from LuiTypeEntity type where type.refObjectURI=:refObjectURI") |
| 12 | |
.setParameter("refObjectURI", refObjectURI) |
| 13 | |
.getResultList(); |
| 14 | |
} |
| 15 | |
|
| 16 | |
} |