org.promotego.dao.hibernate
Class HibernateUserDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.promotego.dao.hibernate.HibernateDaoSupport<User>
              extended by org.promotego.dao.hibernate.HibernateUserDao
All Implemented Interfaces:
Dao<User>, UserDao, org.springframework.beans.factory.InitializingBean

public class HibernateUserDao
extends HibernateDaoSupport<User>
implements UserDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateUserDao()
           
 
Method Summary
 java.lang.String getCountQuery()
           
 java.lang.String getFindAllQuery()
           
 java.lang.String getIdQuery()
           
 User getUserByEmailAddress(java.lang.String emailAddress)
           
 User getUserByUsername(java.lang.String username)
           
 
Methods inherited from class org.promotego.dao.hibernate.HibernateDaoSupport
create, create, delete, deleteAll, findAll, getById, getCount, reattach, saveOrUpdate, update
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.promotego.dao.interfaces.UserDao
create
 
Methods inherited from interface org.promotego.dao.interfaces.Dao
create, delete, deleteAll, findAll, getById, getCount, reattach, saveOrUpdate, update
 

Constructor Detail

HibernateUserDao

public HibernateUserDao()
Method Detail

getFindAllQuery

public java.lang.String getFindAllQuery()
Specified by:
getFindAllQuery in class HibernateDaoSupport<User>

getIdQuery

public java.lang.String getIdQuery()
Specified by:
getIdQuery in class HibernateDaoSupport<User>

getCountQuery

public java.lang.String getCountQuery()
Specified by:
getCountQuery in class HibernateDaoSupport<User>

getUserByUsername

public User getUserByUsername(java.lang.String username)
Specified by:
getUserByUsername in interface UserDao

getUserByEmailAddress

public User getUserByEmailAddress(java.lang.String emailAddress)
Specified by:
getUserByEmailAddress in interface UserDao


Copyright © 2007. All Rights Reserved.