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

java.lang.Object
  extended by org.perfectjpattern.jee.integration.dao.JpaBaseDao<Id,Element>
      extended by org.perfectjpattern.jee.integration.dao.AbstractJpaManagedBaseDao<Id,Element>
All Implemented Interfaces:
IBaseDao<Id,Element>, IBaseReadOnlyDao<Id,Element>
Direct Known Subclasses:
MovieBaseDao

public abstract class AbstractJpaManagedBaseDao<Id extends Serializable,Element>
extends JpaBaseDao<Id,Element>

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

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

Constructor Summary
AbstractJpaManagedBaseDao(Class<Element> aPersistentClass)
          Constructs a AbstractJpaManagedBaseDao instance from the persistent class type.
 
Method Summary
 
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
 

Constructor Detail

AbstractJpaManagedBaseDao

public AbstractJpaManagedBaseDao(Class<Element> aPersistentClass)
Constructs a AbstractJpaManagedBaseDao 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.