Interface InstallationService

    • Method Detail

      • isHistoricalDataEnabled

        boolean isHistoricalDataEnabled()
        Returns true if the historical data management is enabled.
      • setHistoricalDataEnabled

        void setHistoricalDataEnabled​(boolean isHistoricalDataEnabled)
        Set true if the historical data management is enabled.
      • deleteBot

        void deleteBot​(Bot bot)
                throws Exception
        Deletes a bot permission data only.
        Throws:
        Exception
      • deleteInstaller

        void deleteInstaller​(Installer installer)
                      throws Exception
        Deletes a user permission data only.
        Throws:
        Exception
      • findBot

        Bot findBot​(String enterpriseId,
                    String teamId)
        Returns a bot permission data if exists.
      • findInstaller

        Installer findInstaller​(String enterpriseId,
                                String teamId,
                                String userId)
        Returns a user permission data if exists.
      • getInstallationGuideText

        default String getInstallationGuideText​(String enterpriseId,
                                                String teamId,
                                                String userId)
        Returns a message text to inform unknown users.
      • getInstallationGuideBlocks

        default List<LayoutBlock> getInstallationGuideBlocks​(String enterpriseId,
                                                             String teamId,
                                                             String userId)
        Returns a message (Block Kit) to inform unknown users.