com.atlassian.bamboo.security.trustedapplications
Class BambooTrustedApplicationsHibernateDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
              extended by com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<BambooTrustedApplication>
                  extended by com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationsHibernateDao
All Implemented Interfaces:
BambooObjectDao<BambooTrustedApplication>, BambooTrustedApplicationDao, org.springframework.beans.factory.InitializingBean

public class BambooTrustedApplicationsHibernateDao
extends BambooHibernateObjectDao<BambooTrustedApplication>
implements BambooTrustedApplicationDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
BambooTrustedApplicationsHibernateDao()
           
 
Method Summary
 BambooTrustedApplication findByApplicationId(String applicationId)
          Get the BambooTrustedApplication with the given application id.
 BambooCurrentApplication getCurrentApplication()
          Retrieves the Trusted Apps data for the current Bamboo instance.
 void save(BambooCurrentApplication currentApp)
           
 
Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
countAll, countWithRestriction, delete, deleteAll, execute, executeCountQuery, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
 
Methods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplate
 
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
 
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
 

Constructor Detail

BambooTrustedApplicationsHibernateDao

public BambooTrustedApplicationsHibernateDao()
Method Detail

findByApplicationId

public BambooTrustedApplication findByApplicationId(String applicationId)
Description copied from interface: BambooTrustedApplicationDao
Get the BambooTrustedApplication with the given application id.

Specified by:
findByApplicationId in interface BambooTrustedApplicationDao
Returns:
the BambooTrustedApplication

save

public void save(@NotNull
                 BambooCurrentApplication currentApp)
Specified by:
save in interface BambooTrustedApplicationDao

getCurrentApplication

@Nullable
public BambooCurrentApplication getCurrentApplication()
Description copied from interface: BambooTrustedApplicationDao
Retrieves the Trusted Apps data for the current Bamboo instance.

Specified by:
getCurrentApplication in interface BambooTrustedApplicationDao


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.