Package ai.tock.bot.admin.bot
Interface BotApplicationConfigurationDAO
-
- All Implemented Interfaces:
public interface BotApplicationConfigurationDAO
-
-
Method Summary
-
-
Method Detail
-
listenChanges
abstract Unit listenChanges(Function0<Unit> listener)
Listen changes on application configurations.
-
save
abstract BotApplicationConfiguration save(BotApplicationConfiguration conf)
-
save
abstract Unit save(BotConfiguration conf)
-
getConfigurationsByNamespaceAndNlpModel
abstract List<BotApplicationConfiguration> getConfigurationsByNamespaceAndNlpModel(String namespace, String nlpModel)
-
getConfigurationsByBotNamespaceAndConfigurationName
abstract List<BotApplicationConfiguration> getConfigurationsByBotNamespaceAndConfigurationName(String namespace, String botId, String configurationName)
-
getConfigurations
abstract List<BotApplicationConfiguration> getConfigurations()
-
getConfigurationById
abstract BotApplicationConfiguration getConfigurationById(Id<BotApplicationConfiguration> id)
-
getConfigurationByApplicationIdAndBotId
abstract BotApplicationConfiguration getConfigurationByApplicationIdAndBotId(String namespace, String applicationId, String botId)
-
getConfigurationsByNamespaceAndBotId
abstract List<BotApplicationConfiguration> getConfigurationsByNamespaceAndBotId(String namespace, String botId)
-
getConfigurationByPath
abstract BotApplicationConfiguration getConfigurationByPath(String path)
Get configuration by path.
-
getConfigurationByTargetId
abstract BotApplicationConfiguration getConfigurationByTargetId(Id<BotApplicationConfiguration> id)
Get configuration by target application identifier.
-
delete
abstract Unit delete(BotApplicationConfiguration conf)
-
delete
abstract Unit delete(BotConfiguration conf)
-
listenBotChanges
abstract Unit listenBotChanges(Function0<Unit> listener)
Listen changes on bot configurations.
-
getBotConfigurationsByNamespaceAndBotId
abstract List<BotConfiguration> getBotConfigurationsByNamespaceAndBotId(String namespace, String botId)
-
getBotConfigurationsByNamespaceAndNameAndBotId
abstract BotConfiguration getBotConfigurationsByNamespaceAndNameAndBotId(String namespace, String name, String botId)
-
getBotConfigurations
abstract List<BotConfiguration> getBotConfigurations()
-
-
-
-