catalog.model.dao.hibernate
Class UserDaoHibernateImpl

java.lang.Object
  extended byorg.springframework.orm.hibernate.support.HibernateDaoSupport
      extended bycatalog.model.dao.hibernate.UserDaoHibernateImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, UserDao

public class UserDaoHibernateImpl
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements UserDao

The Hibernate implementation of the UserDao.

Author:
Derek Y. Shen
See Also:
UserDao

Field Summary
 
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
logger
 
Constructor Summary
UserDaoHibernateImpl()
          Default constructor.
 
Method Summary
 User getUser(java.lang.String username)
          Get user by username.
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDaoHibernateImpl

public UserDaoHibernateImpl()
Default constructor.

Method Detail

getUser

public User getUser(java.lang.String username)
Description copied from interface: UserDao
Get user by username.

Specified by:
getUser in interface UserDao
Parameters:
username - the username
Returns:
the user associated with the username
See Also:
UserDao.getUser(String)


Copyright (c) 2004 The JCatalog Project.