org.clazzes.util.jpa.generic
Class GenericGetAllJpaDAO<T>

java.lang.Object
  extended by org.clazzes.util.jpa.dao.JpaDAOSupport
      extended by org.clazzes.util.jpa.generic.GenericJpaDAO<T>
          extended by org.clazzes.util.jpa.generic.GenericGetAllJpaDAO<T>
All Implemented Interfaces:
org.clazzes.util.aop.generic.GenericDAO<T>, org.clazzes.util.aop.generic.GenericGetAllDAO<T>

public class GenericGetAllJpaDAO<T>
extends GenericJpaDAO<T>
implements org.clazzes.util.aop.generic.GenericGetAllDAO<T>

A JPA implementation of a GenericGetAllDAO


Constructor Summary
GenericGetAllJpaDAO(java.lang.Class<T> persistentClass)
           
 
Method Summary
 java.util.List<T> getAll()
           
 
Methods inherited from class org.clazzes.util.jpa.generic.GenericJpaDAO
delete, get, getPersistentClass, insert, merge, refresh, update
 
Methods inherited from class org.clazzes.util.jpa.dao.JpaDAOSupport
getEntityManager, getThreadLocalKey, setThreadLocalKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.clazzes.util.aop.generic.GenericDAO
delete, get, getPersistentClass, insert, merge, refresh, update
 

Constructor Detail

GenericGetAllJpaDAO

public GenericGetAllJpaDAO(java.lang.Class<T> persistentClass)
Parameters:
persistentClass - The class object of the persisted class T.
Method Detail

getAll

public java.util.List<T> getAll()
Specified by:
getAll in interface org.clazzes.util.aop.generic.GenericGetAllDAO<T>


Copyright © 2011. All Rights Reserved.