public abstract class MySqlBasedTelegramBotSettingsRepository extends Object implements TelegramBotSettingsRepository
| Constructor and Description |
|---|
MySqlBasedTelegramBotSettingsRepository() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DataSource |
getDataSource() |
protected abstract org.apache.logging.log4j.Logger |
getLogger() |
String |
getRobotSettings(String chatOrUserID,
String robotID,
String propKey) |
protected abstract String |
getTableName() |
Map<String,String> |
loadRobotSettings(String chatOrUserID,
String robotID) |
void |
saveRobotSettings(String chatOrUserID,
String robotID,
String propKey,
String propValue) |
public MySqlBasedTelegramBotSettingsRepository()
public void saveRobotSettings(String chatOrUserID, String robotID, String propKey, String propValue)
public String getRobotSettings(String chatOrUserID, String robotID, String propKey)
protected abstract DataSource getDataSource()
protected abstract String getTableName()
protected abstract org.apache.logging.log4j.Logger getLogger()
Copyright © 2016 iSuper.org. All Rights Reserved.