public interface WebhookTemplateDao extends BambooObjectDao<WebhookTemplate>
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> exportXmlConsumer)
Scroll through all AccessToken records and pass them to consumer
|
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
@NotNull List<WebhookTemplate> findGlobalTemplates()
void deleteById(long id)
id
- boolean exists(String webhookName)
webhookName
- @NotNull Optional<UUID> findUuidByName(String webhookName)
webhookName
- long scrollTokensForExport(Consumer<WebhookTemplate> exportXmlConsumer)
@NotNull Optional<WebhookTemplate> findByUuid(UUID uuid)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.