com.anasoft.os.daofusion.test.example.dao
Class EntityManagerAwareEnumerationDao<T extends PersistentEnumeration>

java.lang.Object
  extended by com.anasoft.os.daofusion.BaseHibernateDataAccessor
      extended by com.anasoft.os.daofusion.AbstractHibernateEntityDao<T,java.lang.Long>
          extended by com.anasoft.os.daofusion.AbstractHibernateEnumerationDao<T>
              extended by com.anasoft.os.daofusion.test.example.dao.EntityManagerAwareEnumerationDao<T>
All Implemented Interfaces:
PersistentEntityDao<T,java.lang.Long>, PersistentEnumerationDao<T>
Direct Known Subclasses:
CountryDao, PaymentTypeDao, StockItemCategoryDao

public abstract class EntityManagerAwareEnumerationDao<T extends PersistentEnumeration>
extends AbstractHibernateEnumerationDao<T>


Constructor Summary
EntityManagerAwareEnumerationDao()
           
 
Method Summary
protected  org.hibernate.ejb.HibernateEntityManager getHibernateEntityManager()
           
 org.hibernate.Session getHibernateSession()
           
 
Methods inherited from class com.anasoft.os.daofusion.AbstractHibernateEnumerationDao
getByName, getByName, getByNames, getByNames
 
Methods inherited from class com.anasoft.os.daofusion.AbstractHibernateEntityDao
count, count, countAll, countAll, delete, delete, delete, deleteAll, deleteAll, get, get, getAll, getAll, query, query, refresh, saveOrUpdate, uniqueResult, uniqueResult
 
Methods inherited from class com.anasoft.os.daofusion.BaseHibernateDataAccessor
getCriteria, getHibernateCriteria, getSession, rowCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.anasoft.os.daofusion.PersistentEntityDao
count, count, countAll, countAll, delete, delete, delete, deleteAll, deleteAll, get, get, getAll, getAll, getEntityClass, query, query, refresh, saveOrUpdate, uniqueResult, uniqueResult
 

Constructor Detail

EntityManagerAwareEnumerationDao

public EntityManagerAwareEnumerationDao()
Method Detail

getHibernateEntityManager

protected org.hibernate.ejb.HibernateEntityManager getHibernateEntityManager()
Specified by:
getHibernateEntityManager in class BaseHibernateDataAccessor

getHibernateSession

public org.hibernate.Session getHibernateSession()


Copyright © 2008-2009 ANASOFT and contributors. All Rights Reserved.