net.sf.fridaymvc.sample.hibernate.dao.impl
Class UserDaoImpl

java.lang.Object
  extended byorg.springframework.orm.hibernate.support.HibernateDaoSupport
      extended bynet.sf.fridaymvc.sample.hibernate.dao.impl.UserDaoImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, UserDao

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

Version:
$Id: UserDaoImpl.java,v 1.1 2004/11/23 20:36:57 artsi Exp $
Author:
Arto Pastinen

Field Summary
 
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
logger
 
Constructor Summary
UserDaoImpl()
           
 
Method Summary
 java.util.List findAllUsers()
           
 net.sf.fridaymvc.security.accesscontroller.User findByUsernamePassword(java.lang.String username, java.lang.String password)
           
 int removeUserByUserUid(java.lang.Integer userUid)
           
 java.io.Serializable save(HibernateUser hu)
           
 void update(net.sf.fridaymvc.security.accesscontroller.User user)
           
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, 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

UserDaoImpl

public UserDaoImpl()
Method Detail

findAllUsers

public java.util.List findAllUsers()
Specified by:
findAllUsers in interface UserDao

findByUsernamePassword

public net.sf.fridaymvc.security.accesscontroller.User findByUsernamePassword(java.lang.String username,
                                                                              java.lang.String password)
Specified by:
findByUsernamePassword in interface UserDao

save

public java.io.Serializable save(HibernateUser hu)
Specified by:
save in interface UserDao

update

public void update(net.sf.fridaymvc.security.accesscontroller.User user)
Specified by:
update in interface UserDao
Parameters:
user -

removeUserByUserUid

public int removeUserByUserUid(java.lang.Integer userUid)
Specified by:
removeUserByUserUid in interface UserDao
Parameters:
userUid -


Copyright © 2004 Friday MVC. All Rights Reserved.