org.perfectjpattern.jee.integration.dao.jpa
Class MovieBaseDao

java.lang.Object
  extended by org.perfectjpattern.jee.integration.dao.JpaBaseDao<Id,Element>
      extended by org.perfectjpattern.jee.integration.dao.AbstractJpaManagedBaseDao<Long,Movie>
          extended by org.perfectjpattern.jee.integration.dao.jpa.MovieBaseDao
All Implemented Interfaces:
IBaseDao<Long,Movie>, IBaseReadOnlyDao<Long,Movie>, IMovieBaseDao

public class MovieBaseDao
extends AbstractJpaManagedBaseDao<Long,Movie>
implements IMovieBaseDao

EJB implementation of IMovieBaseDao. Exposes managed EJB reusing all of the PerfectJPattern's IBaseDao facilities

Version:
$Revision: 1.0 $Date: Feb 11, 2009 11:31:24 AM $
Author:
Giovanni Azua
 

Constructor Summary
MovieBaseDao()
           
 
Method Summary
 void setEntityManager(javax.persistence.EntityManager anEntityManager)
          Sets the EntityManager, called from a managed EJB that exposes IGenericReadOnlyDao or IGenericDao remotely.
 
Methods inherited from class org.perfectjpattern.jee.integration.dao.JpaBaseDao
contains, count, create, delete, deleteAll, findAll, findById, getPersistentClass, getSession, getSessionStrategy, getTransaction, getTransactionStrategy, 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

MovieBaseDao

public MovieBaseDao()
Method Detail

setEntityManager

public void setEntityManager(javax.persistence.EntityManager anEntityManager)
Description copied from class: JpaBaseDao
Sets the EntityManager, called from a managed EJB that exposes IGenericReadOnlyDao or IGenericDao remotely.

Overrides:
setEntityManager in class JpaBaseDao<Long,Movie>
Parameters:
anEntityManager - The EntityManager to set


Copyright © 2007-2009. All Rights Reserved.