com.atlassian.confluence.security.persistence.dao.hibernate
Class HibernateTrustedApplicationDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.confluence.security.persistence.dao.hibernate.HibernateTrustedApplicationDao
All Implemented Interfaces:
TrustedApplicationDao, org.springframework.beans.factory.InitializingBean

public class HibernateTrustedApplicationDao
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements TrustedApplicationDao

Hibernate implementation of the TrustedApplicationDao.


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateTrustedApplicationDao()
           
 
Method Summary
 void deleteHibernateTrustedApplication(ConfluenceTrustedApplication trustedApplication)
           
 Collection<ConfluenceTrustedApplication> findAll()
           
 ConfluenceTrustedApplication findById(long id)
           
 ConfluenceTrustedApplication findByKeyAlias(String keyAlias)
           
 ConfluenceTrustedApplication findByName(String applicationName)
           
 void saveHibernateTrustedApplication(ConfluenceTrustedApplication trustedApplication)
           
 
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
 

Constructor Detail

HibernateTrustedApplicationDao

public HibernateTrustedApplicationDao()
Method Detail

findById

public ConfluenceTrustedApplication findById(long id)
Specified by:
findById in interface TrustedApplicationDao

findByKeyAlias

public ConfluenceTrustedApplication findByKeyAlias(String keyAlias)
Specified by:
findByKeyAlias in interface TrustedApplicationDao

findByName

public ConfluenceTrustedApplication findByName(String applicationName)
Specified by:
findByName in interface TrustedApplicationDao

findAll

public Collection<ConfluenceTrustedApplication> findAll()
Specified by:
findAll in interface TrustedApplicationDao

saveHibernateTrustedApplication

public void saveHibernateTrustedApplication(ConfluenceTrustedApplication trustedApplication)
Specified by:
saveHibernateTrustedApplication in interface TrustedApplicationDao

deleteHibernateTrustedApplication

public void deleteHibernateTrustedApplication(ConfluenceTrustedApplication trustedApplication)
Specified by:
deleteHibernateTrustedApplication in interface TrustedApplicationDao


Copyright © 2003–2015 Atlassian. All rights reserved.