public class WebhookTemplateHibernateDao extends BambooHibernateObjectDao<WebhookTemplate> implements WebhookTemplateDao
| Constructor and Description |
|---|
WebhookTemplateHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteById(long id)
Deletes webhooktemplate with given id
|
boolean |
exists(String webhookName)
Check if webhook with given name exists
|
Optional<WebhookTemplate> |
findByUuid(UUID uuid) |
List<WebhookTemplate> |
findGlobalTemplates()
Return all Global webhook templates which are specified in Global administration
|
Optional<UUID> |
findUuidByName(String webhookName)
Returns uuid of webhook with given name
|
long |
scrollTokensForExport(Consumer<WebhookTemplate> consumer)
Scroll through all AccessToken records and pass them to consumer
|
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAllgetCacheAwareHibernateTemplatecheckDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAllpublic List<WebhookTemplate> findGlobalTemplates()
WebhookTemplateDaofindGlobalTemplates in interface WebhookTemplateDaopublic void deleteById(long id)
WebhookTemplateDaodeleteById in interface WebhookTemplateDaopublic boolean exists(String webhookName)
WebhookTemplateDaoexists in interface WebhookTemplateDaopublic Optional<UUID> findUuidByName(String webhookName)
WebhookTemplateDaofindUuidByName in interface WebhookTemplateDaopublic long scrollTokensForExport(@NotNull
Consumer<WebhookTemplate> consumer)
WebhookTemplateDaoscrollTokensForExport in interface WebhookTemplateDaopublic Optional<WebhookTemplate> findByUuid(UUID uuid)
findByUuid in interface WebhookTemplateDaoCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.