public interface IWebhookManagerLocal
Modifier and Type | Method and Description |
---|---|
SimpleWebhookApp |
configureSimpleWebhook(String workspaceId,
int webhookId,
String method,
String uri,
String authorization) |
SNSWebhookApp |
configureSNSWebhook(String workspaceId,
int webhookId,
String topicArn,
String region,
String awsAccount,
String awsSecret) |
Webhook |
createWebhook(String workspaceId,
String name,
boolean active) |
void |
deleteWebhook(String workspaceId,
int id) |
List<Webhook> |
getActiveWebHooks(String workspaceId) |
Webhook |
getWebHook(String workspaceId,
int id) |
List<Webhook> |
getWebHooks(String workspaceId) |
Webhook |
updateWebHook(String workspaceId,
int id,
String name,
boolean active) |
Webhook createWebhook(String workspaceId, String name, boolean active) throws UserNotFoundException, WorkspaceNotFoundException, UserNotActiveException, WorkspaceNotEnabledException, AccessRightException, AccountNotFoundException
List<Webhook> getWebHooks(String workspaceId) throws WorkspaceNotFoundException, AccountNotFoundException, AccessRightException
Webhook getWebHook(String workspaceId, int id) throws WorkspaceNotFoundException, AccountNotFoundException, AccessRightException, WebhookNotFoundException
Webhook updateWebHook(String workspaceId, int id, String name, boolean active) throws WorkspaceNotFoundException, AccessRightException, WebhookNotFoundException, AccountNotFoundException
void deleteWebhook(String workspaceId, int id) throws WorkspaceNotFoundException, AccountNotFoundException, AccessRightException, WebhookNotFoundException
SimpleWebhookApp configureSimpleWebhook(String workspaceId, int webhookId, String method, String uri, String authorization) throws WorkspaceNotFoundException, AccessRightException, WebhookNotFoundException, AccountNotFoundException
SNSWebhookApp configureSNSWebhook(String workspaceId, int webhookId, String topicArn, String region, String awsAccount, String awsSecret) throws WorkspaceNotFoundException, AccessRightException, WebhookNotFoundException, AccountNotFoundException
List<Webhook> getActiveWebHooks(String workspaceId) throws UserNotFoundException, WorkspaceNotFoundException, UserNotActiveException, WorkspaceNotEnabledException
Copyright © 2017 DocDoku. All rights reserved.