com.atlassian.bamboo.user
Class LoginInformationHibernateDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
              extended by com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<LoginInformation>
                  extended by com.atlassian.bamboo.user.LoginInformationHibernateDao
All Implemented Interfaces:
BambooObjectDao<LoginInformation>, LoginInformationDao, org.springframework.beans.factory.InitializingBean

public class LoginInformationHibernateDao
extends BambooHibernateObjectDao<LoginInformation>
implements LoginInformationDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
LoginInformationHibernateDao()
           
 
Method Summary
 java.util.Iterator<LoginInformation> getAllLoginInformationRecords()
           
 LoginInformation getLoginInformationByUserName(java.lang.String userName)
           
 java.lang.Class getPersistentClass()
           
 void save(LoginInformation loginInformation)
          Saves the given entity.
 
Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
delete, deleteAll, execute, executeCountQuery, executeFind, executeReturnLong, findAll, findById, saveAll
 
Methods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplate
 
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
 
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
delete, deleteAll, executeReturnLong, findAll, findById, saveAll
 

Constructor Detail

LoginInformationHibernateDao

public LoginInformationHibernateDao()
Method Detail

getPersistentClass

public java.lang.Class getPersistentClass()

getLoginInformationByUserName

public LoginInformation getLoginInformationByUserName(@NotNull
                                                      java.lang.String userName)
Specified by:
getLoginInformationByUserName in interface LoginInformationDao

getAllLoginInformationRecords

public java.util.Iterator<LoginInformation> getAllLoginInformationRecords()
Specified by:
getAllLoginInformationRecords in interface LoginInformationDao

save

public void save(@NotNull
                 LoginInformation loginInformation)
Description copied from interface: BambooObjectDao
Saves the given entity. If the entity implementation is an instance of BambooEntityObject this method will: - update EntityObject.getLastModificationDate() - set EntityObject.getCreationDate() if the object has not been saved

Specified by:
save in interface BambooObjectDao<LoginInformation>
Specified by:
save in interface LoginInformationDao
Overrides:
save in class BambooHibernateObjectDao<LoginInformation>
Parameters:
loginInformation - entity to be saved


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.