Interface WebhookTemplateDao

    • Method Detail

      • findGlobalTemplates

        @NotNull
        @NotNull List<WebhookTemplate> findGlobalTemplates()
        Return all Global webhook templates which are specified in Global administration
        Returns:
      • deleteById

        void deleteById​(long id)
        Deletes webhooktemplate with given id
        Parameters:
        id -
      • exists

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

        @NotNull
        @NotNull Optional<UUID> findUuidByName​(String webhookName)
        Returns uuid of webhook with given name
        Parameters:
        webhookName -
        Returns:
      • scrollTokensForExport

        long scrollTokensForExport​(Consumer<WebhookTemplate> exportXmlConsumer)
        Scroll through all AccessToken records and pass them to consumer