bucket.user.persistence.dao.hibernate
Class BucketUserDAO

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by bucket.user.persistence.dao.hibernate.BucketUserDAO
All Implemented Interfaces:
com.opensymphony.user.provider.hibernate.dao.HibernateUserDAO, org.springframework.beans.factory.InitializingBean

public class BucketUserDAO
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements com.opensymphony.user.provider.hibernate.dao.HibernateUserDAO


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
BucketUserDAO()
           
 
Method Summary
 int deleteUserByUsername(java.lang.String username)
           
 com.opensymphony.user.provider.hibernate.entity.HibernateUser findUserByUsername(java.lang.String username)
           
 com.opensymphony.user.provider.hibernate.entity.HibernateUser findUserByUsernameAndGroupname(java.lang.String userName, java.lang.String groupName)
           
 java.util.List findUsers()
           
 boolean saveUser(com.opensymphony.user.provider.hibernate.entity.HibernateUser user)
           
 void setUserCache(com.atlassian.cache.Cache userCache)
           
 boolean updateUser(com.opensymphony.user.provider.hibernate.entity.HibernateUser user)
           
 
Methods inherited from class org.springframework.orm.hibernate.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
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

BucketUserDAO

public BucketUserDAO()
Method Detail

setUserCache

public void setUserCache(com.atlassian.cache.Cache userCache)

findUsers

public java.util.List findUsers()
Specified by:
findUsers in interface com.opensymphony.user.provider.hibernate.dao.HibernateUserDAO

findUserByUsername

public com.opensymphony.user.provider.hibernate.entity.HibernateUser findUserByUsername(java.lang.String username)
Specified by:
findUserByUsername in interface com.opensymphony.user.provider.hibernate.dao.HibernateUserDAO

deleteUserByUsername

public int deleteUserByUsername(java.lang.String username)
Specified by:
deleteUserByUsername in interface com.opensymphony.user.provider.hibernate.dao.HibernateUserDAO

updateUser

public boolean updateUser(com.opensymphony.user.provider.hibernate.entity.HibernateUser user)
Specified by:
updateUser in interface com.opensymphony.user.provider.hibernate.dao.HibernateUserDAO

findUserByUsernameAndGroupname

public com.opensymphony.user.provider.hibernate.entity.HibernateUser findUserByUsernameAndGroupname(java.lang.String userName,
                                                                                                    java.lang.String groupName)
Specified by:
findUserByUsernameAndGroupname in interface com.opensymphony.user.provider.hibernate.dao.HibernateUserDAO

saveUser

public boolean saveUser(com.opensymphony.user.provider.hibernate.entity.HibernateUser user)
Specified by:
saveUser in interface com.opensymphony.user.provider.hibernate.dao.HibernateUserDAO


Copyright © 2003-2014 Atlassian. All Rights Reserved.