Interface WebhookTemplateService

    • Method Detail

      • getGlobalWebhooks

        List<WebhookTemplate> getGlobalWebhooks()
        return all Global webhook specified in Global Administration
        Returns:
      • findById

        Optional<WebhookTemplate> findById​(long webhookId)
        Finds WebhookTemplate By id
        Parameters:
        webhookId -
        Returns:
      • update

        void update​(WebhookTemplate webhookTemplate)
        Updates Webhook Template which already exists
        Parameters:
        webhookTemplate -
      • deleteById

        void deleteById​(long webhookId)
        Deletes Webhook Template with given id
        Parameters:
        webhookId -
      • exists

        boolean exists​(String webhookName)
        Check if Webhook Template with given name exists
        Parameters:
        webhookName -
        Returns:
        true if exists, otherwise false
      • generateUuid

        UUID generateUuid()
        Returns:
        uuid for webhook
      • getSupportedMethods

        List<org.springframework.http.HttpMethod> getSupportedMethods()