org.dellroad.stuff.dao
Class AbstractDAO.DAOCriteriaListCallback

java.lang.Object
  extended by org.dellroad.stuff.dao.QueryCallback<R>
      extended by org.dellroad.stuff.dao.TypedQueryCallback<T,R>
          extended by org.dellroad.stuff.dao.CriteriaCallback<T,List<T>>
              extended by org.dellroad.stuff.dao.AbstractDAO.DAOCriteriaListCallback
All Implemented Interfaces:
JpaCallback<List<T>>
Enclosing class:
AbstractDAO<T>

protected abstract class AbstractDAO.DAOCriteriaListCallback
extends CriteriaCallback<T,List<T>>

Convenience subclass of CriteriaCallback for use by DAO subclasses when returning lists of persistent instances.


Field Summary
 
Fields inherited from class org.dellroad.stuff.dao.CriteriaCallback
type
 
Constructor Summary
protected AbstractDAO.DAOCriteriaListCallback()
           
 
Method Summary
protected  List<T> executeQuery(TypedQuery<T> query)
          Execute the query.
 
Methods inherited from class org.dellroad.stuff.dao.CriteriaCallback
buildQuery, configureQuery
 
Methods inherited from class org.dellroad.stuff.dao.TypedQueryCallback
executeQuery
 
Methods inherited from class org.dellroad.stuff.dao.QueryCallback
doInJpa
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDAO.DAOCriteriaListCallback

protected AbstractDAO.DAOCriteriaListCallback()
Method Detail

executeQuery

protected final List<T> executeQuery(TypedQuery<T> query)
Description copied from class: TypedQueryCallback
Execute the query.

Specified by:
executeQuery in class TypedQueryCallback<T,List<T>>