public class CriteriaLookupDaoJpa extends Object implements CriteriaLookupDao
Constructor and Description |
---|
CriteriaLookupDaoJpa() |
Modifier and Type | Method and Description |
---|---|
<T> GenericQueryResults<T> |
lookup(Class<T> queryClass,
QueryByCriteria criteria)
Looks up a type based on a query criteria.
|
<T> GenericQueryResults<T> |
lookup(Class<T> queryClass,
QueryByCriteria criteria,
LookupCustomizer<T> customizer)
Looks up a type based on a query criteria.
|
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public CriteriaLookupDaoJpa()
public <T> GenericQueryResults<T> lookup(Class<T> queryClass, QueryByCriteria criteria)
CriteriaLookupDao
lookup
in interface CriteriaLookupDao
T
- the type that is being looked up.queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.public <T> GenericQueryResults<T> lookup(Class<T> queryClass, QueryByCriteria criteria, LookupCustomizer<T> customizer)
CriteriaLookupDao
lookup
in interface CriteriaLookupDao
T
- the type that is being looked up.queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager
- the entityManager to setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.