com.atlassian.crowd.dao.webhook
Interface WebhookDAO
- All Known Implementing Classes:
- NoopWebhookDAOImpl, WebhookDAOHibernate
public interface WebhookDAO
Persists Webhook
s.
- Since:
- v2.7
findById
Webhook findById(Long webhookId)
throws WebhookNotFoundException
- Throws:
WebhookNotFoundException
findByApplicationAndEndpointUrl
Webhook findByApplicationAndEndpointUrl(Application application,
String endpointUrl)
throws WebhookNotFoundException
- Throws:
WebhookNotFoundException
add
Webhook add(Webhook webhook)
remove
void remove(Webhook webhook)
throws WebhookNotFoundException
- Throws:
WebhookNotFoundException
findAll
Iterable<Webhook> findAll()
update
Webhook update(Webhook webhook)
throws WebhookNotFoundException
- Throws:
WebhookNotFoundException
Copyright © 2013 Atlassian. All Rights Reserved.