hu.elte.tribus.services
Class HibernateUserDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by hu.elte.tribus.services.HibernateUserDao
All Implemented Interfaces:
UserDao, org.springframework.beans.factory.InitializingBean

public class HibernateUserDao
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements UserDao

Author:
kocka

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateUserDao()
           
 
Method Summary
 User getUser(java.lang.String name)
           
 User getUserById(java.lang.Integer id)
           
 void saveUser(User user)
           
 
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
 

Constructor Detail

HibernateUserDao

public HibernateUserDao()
Method Detail

getUser

public User getUser(java.lang.String name)
Specified by:
getUser in interface UserDao

saveUser

public void saveUser(User user)
Specified by:
saveUser in interface UserDao

getUserById

public User getUserById(java.lang.Integer id)
Specified by:
getUserById in interface UserDao


Copyright © 2006-2007. All Rights Reserved.