net.sf.fridaymvc.sample.hibernate.dao.impl
Class UserDaoImpl
java.lang.Object
org.springframework.orm.hibernate.support.HibernateDaoSupport
net.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
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
logger |
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 |
UserDaoImpl
public UserDaoImpl()
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.