org.gnomekr.potron.service
Class UserManager

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by org.gnomekr.potron.service.UserManager
All Implemented Interfaces:
net.sf.acegisecurity.providers.dao.AuthenticationDao, IUserManager, InitializingBean

public class UserManager
extends HibernateDaoSupport
implements IUserManager

UserManager.java

Version:
$Revision 1.1 $ $Date: 2005/07/07 15:22:17 $
Author:
Xavier Cho

Field Summary
 
Fields inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
logger
 
Constructor Summary
UserManager()
           
 
Method Summary
 void createUser(User user)
           
 void deleteUser(String userName)
           
 User getUser(String userName)
           
 List<User> getUsers()
           
 net.sf.acegisecurity.UserDetails loadUserByUsername(String userName)
           
 void updateUser(User user)
           
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserManager

public UserManager()
Method Detail

createUser

public void createUser(User user)
                throws UserExistsException
Specified by:
createUser in interface IUserManager
Throws:
UserExistsException
See Also:
IUserManager.createUser(org.gnomekr.potron.data.User)

getUser

public User getUser(String userName)
Specified by:
getUser in interface IUserManager
Returns:
See Also:
IUserManager.getUser(java.lang.String)

getUsers

public List<User> getUsers()
Specified by:
getUsers in interface IUserManager
Returns:
See Also:
IUserManager.getUsers()

updateUser

public void updateUser(User user)
Specified by:
updateUser in interface IUserManager
See Also:
IUserManager.updateUser(org.gnomekr.potron.data.User)

deleteUser

public void deleteUser(String userName)
Specified by:
deleteUser in interface IUserManager
See Also:
IUserManager.deleteUser(java.lang.String)

loadUserByUsername

public net.sf.acegisecurity.UserDetails loadUserByUsername(String userName)
                                                    throws net.sf.acegisecurity.providers.dao.UsernameNotFoundException,
                                                           DataAccessException
Specified by:
loadUserByUsername in interface net.sf.acegisecurity.providers.dao.AuthenticationDao
Throws:
net.sf.acegisecurity.providers.dao.UsernameNotFoundException
DataAccessException
See Also:
AuthenticationDao.loadUserByUsername(java.lang.String)


Copyright © 2000-2005 Gnome Korea. All Rights Reserved.