ch.tatool.app.service.impl
Class UserAccountDAO
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
ch.tatool.app.service.impl.UserAccountDAO
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class UserAccountDAO
- extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
Property access object for user account objects.
- Author:
- Michael Ruflin
| Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
| 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 |
UserAccountDAO
public UserAccountDAO()
loadAccount
public void loadAccount(UserAccountImpl userAccount)
- Loads an account object from the database, using the id specified in the
account.
If no account with given id exists, a new one is created.
- Parameters:
module - the module to load
saveAccount
public void saveAccount(UserAccountImpl account)
- Stores a user account.
deleteAccount
public void deleteAccount(UserAccountImpl account)
- Deletes a user account.
setAccountPassword
public void setAccountPassword(UserAccountImpl account,
String password)
shutdown
public void shutdown()
Copyright © 2012. All Rights Reserved.