org.perfectjpattern.jee.integration.dao
Class AbstractHibernateManagedGenericDao<Id extends Serializable,Element>

java.lang.Object
  extended by org.perfectjpattern.jee.integration.dao.JpaBaseDao<Id,Element>
      extended by org.perfectjpattern.jee.integration.dao.HibernateGenericDao<Id,Element>
          extended by org.perfectjpattern.jee.integration.dao.AbstractHibernateManagedGenericDao<Id,Element>
All Implemented Interfaces:
IBaseDao<Id,Element>, IBaseReadOnlyDao<Id,Element>, IGenericDao<Id,Element>, IGenericReadOnlyDao<Id,Element>
Direct Known Subclasses:
MovieGenericDao

public abstract class AbstractHibernateManagedGenericDao<Id extends Serializable,Element>
extends HibernateGenericDao<Id,Element>

Abstract base partial implementation for all managed EJB exposing PerfectJPattern IGenericDao implementation.

Version:
$Revision: 1.0 $Date: Feb 11, 2009 10:51:42 AM $
Author:
Giovanni Azua
 

Constructor Summary
AbstractHibernateManagedGenericDao(Class<Element> aPersistentClass)
          Constructs a AbstractHibernateManagedGenericDao instance from the persistent class type.
 
Method Summary
 
Methods inherited from class org.perfectjpattern.jee.integration.dao.HibernateGenericDao
findByExample, getActualSession
 
Methods inherited from class org.perfectjpattern.jee.integration.dao.JpaBaseDao
contains, count, create, delete, deleteAll, findAll, findById, getPersistentClass, getSession, getSessionStrategy, getTransaction, getTransactionStrategy, setEntityManager, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.perfectjpattern.jee.api.integration.dao.IBaseDao
create, delete, deleteAll, update
 
Methods inherited from interface org.perfectjpattern.jee.api.integration.dao.IBaseReadOnlyDao
contains, count, findAll, findById, getSession, getTransaction
 

Constructor Detail

AbstractHibernateManagedGenericDao

public AbstractHibernateManagedGenericDao(Class<Element> aPersistentClass)
Constructs a AbstractHibernateManagedGenericDao instance from the persistent class type.

Parameters:
aPersistentClass - The persistent Java Bean class
Throws:
IllegalArgumentException - 'aPersistentClass' must not be null
IllegalArgumentException - 'aPersistentClass' must be a class type


Copyright © 2007-2009. All Rights Reserved.