public interface InstallationService extends Service
Modifier and Type | Method and Description |
---|---|
void |
deleteBot(Bot bot)
Deletes a bot permission data only.
|
void |
deleteInstaller(Installer installer)
Deletes a user permission data only.
|
Bot |
findBot(String enterpriseId,
String teamId)
Returns a bot permission data if exists.
|
Installer |
findInstaller(String enterpriseId,
String teamId,
String userId)
Returns a user permission data if exists.
|
default List<LayoutBlock> |
getInstallationGuideBlocks(String enterpriseId,
String teamId,
String userId)
Returns a message (Block Kit) to inform unknown users.
|
default String |
getInstallationGuideText(String enterpriseId,
String teamId,
String userId)
Returns a message text to inform unknown users.
|
boolean |
isHistoricalDataEnabled()
Returns true if the historical data management is enabled.
|
void |
saveInstallerAndBot(Installer installer)
Saves an installation.
|
void |
setHistoricalDataEnabled(boolean isHistoricalDataEnabled)
Set true if the historical data management is enabled.
|
initializer
boolean isHistoricalDataEnabled()
void setHistoricalDataEnabled(boolean isHistoricalDataEnabled)
void saveInstallerAndBot(Installer installer) throws Exception
Exception
void deleteBot(Bot bot) throws Exception
Exception
void deleteInstaller(Installer installer) throws Exception
Exception
Installer findInstaller(String enterpriseId, String teamId, String userId)
default String getInstallationGuideText(String enterpriseId, String teamId, String userId)
default List<LayoutBlock> getInstallationGuideBlocks(String enterpriseId, String teamId, String userId)
Copyright © 2020. All rights reserved.