public class BambooTrustedApplicationsHibernateDao extends BambooHibernateObjectDao<BambooTrustedApplication> implements BambooTrustedApplicationDao
Constructor and Description |
---|
BambooTrustedApplicationsHibernateDao() |
Modifier and Type | Method and Description |
---|---|
BambooTrustedApplication |
findByApplicationId(String applicationId)
Get the
BambooTrustedApplication with the given application id. |
@Nullable BambooCurrentApplication |
getCurrentApplication()
Retrieves the Trusted Apps data for the current Bamboo instance.
|
void |
save(@NotNull BambooCurrentApplication currentApp) |
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
public BambooTrustedApplicationsHibernateDao()
public BambooTrustedApplication findByApplicationId(String applicationId)
BambooTrustedApplicationDao
BambooTrustedApplication
with the given application id.findByApplicationId
in interface BambooTrustedApplicationDao
applicationId
- the application idBambooTrustedApplication
public void save(@NotNull @NotNull BambooCurrentApplication currentApp)
save
in interface BambooTrustedApplicationDao
@Nullable public @Nullable BambooCurrentApplication getCurrentApplication()
BambooTrustedApplicationDao
getCurrentApplication
in interface BambooTrustedApplicationDao
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.