org.kuali.rice.krad.criteria
Class CriteriaLookupDaoJpa
java.lang.Object
org.kuali.rice.krad.criteria.CriteriaLookupDaoJpa
- All Implemented Interfaces:
- CriteriaLookupDao
public class CriteriaLookupDaoJpa
- extends Object
- implements CriteriaLookupDao
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CriteriaLookupDaoJpa
public CriteriaLookupDaoJpa()
lookup
public <T> GenericQueryResults<T> lookup(Class<T> queryClass,
QueryByCriteria criteria)
- Description copied from interface:
CriteriaLookupDao
- Looks up a type based on a query criteria.
- Specified by:
lookup
in interface CriteriaLookupDao
- Type Parameters:
T
- the type that is being looked up.- Parameters:
queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.
- Returns:
- the results. will never be null.
lookup
public <T> GenericQueryResults<T> lookup(Class<T> queryClass,
QueryByCriteria criteria,
LookupCustomizer<T> customizer)
- Description copied from interface:
CriteriaLookupDao
- Looks up a type based on a query criteria.
- Specified by:
lookup
in interface CriteriaLookupDao
- Type Parameters:
T
- the type that is being looked up.- Parameters:
queryClass
- the class to lookupcriteria
- the criteria to lookup against. cannot be null.
- Returns:
- the results. will never be null.
setEntityManager
public void setEntityManager(javax.persistence.EntityManager entityManager)
- Parameters:
entityManager
- the entityManager to set
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.