|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebhookRegistry
A service interface that provides persistence for Webhooks.
| Method Summary | |
|---|---|
Webhook |
add(Webhook webhook)
Adds a new Webhook, if it does not exist previously. |
Iterable<Webhook> |
findAll()
|
Webhook |
findById(long webhookId)
|
void |
remove(Webhook webhook)
|
Webhook |
update(Webhook webhook)
Updates an existing Webhook. |
| Method Detail |
|---|
Webhook add(Webhook webhook)
webhook -
void remove(Webhook webhook)
throws WebhookNotFoundException
WebhookNotFoundException
Webhook findById(long webhookId)
throws WebhookNotFoundException
WebhookNotFoundExceptionIterable<Webhook> findAll()
Webhook update(Webhook webhook)
throws WebhookNotFoundException
webhook - a template to modify an existing Webhook. Must have an ID.
WebhookNotFoundException - if there is not any Webhook with the ID of the template.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||