Class BambooTrustedApplicationsHibernateDao
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
- com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
-
- com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<BambooTrustedApplication>
-
- 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
-
-
Constructor Summary
Constructors Constructor Description BambooTrustedApplicationsHibernateDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BambooTrustedApplication
findByApplicationId(String applicationId)
Get theBambooTrustedApplication
with the given application id.@Nullable BambooCurrentApplication
getCurrentApplication()
Retrieves the Trusted Apps data for the current Bamboo instance.void
save(@NotNull BambooCurrentApplication currentApp)
-
Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
convertSearchTermToLikeExpression, countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
-
Methods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplate
-
Methods inherited from class org.springframework.orm.hibernate5.support.HibernateDaoSupport
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
-
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, findAll, findById, merge, save, saveAll
-
-
-
-
Method Detail
-
findByApplicationId
public BambooTrustedApplication findByApplicationId(String applicationId)
Description copied from interface:BambooTrustedApplicationDao
Get theBambooTrustedApplication
with the given application id.- Specified by:
findByApplicationId
in interfaceBambooTrustedApplicationDao
- Parameters:
applicationId
- the application id- Returns:
- the
BambooTrustedApplication
-
save
public void save(@NotNull @NotNull BambooCurrentApplication currentApp)
- Specified by:
save
in interfaceBambooTrustedApplicationDao
-
getCurrentApplication
@Nullable public @Nullable BambooCurrentApplication getCurrentApplication()
Description copied from interface:BambooTrustedApplicationDao
Retrieves the Trusted Apps data for the current Bamboo instance.- Specified by:
getCurrentApplication
in interfaceBambooTrustedApplicationDao
-
-