public abstract class MySqlBasedUserSettingsDbWithMultiBotsSupport extends Object implements UserSettingsWithMultiBotsSupport
| Constructor and Description |
|---|
MySqlBasedUserSettingsDbWithMultiBotsSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteRobotSettings(long botId,
long userId) |
void |
deleteRobotSettings(long botId,
long userId,
String propKey) |
protected abstract DataSource |
getDataSource() |
protected abstract org.apache.logging.log4j.Logger |
getLogger() |
String |
getRobotSettings(long botId,
long userId,
String propKey) |
protected abstract String |
getTableName() |
Map<String,String> |
loadRobotSettings(long botId,
long userId) |
void |
saveRobotSettings(long botId,
long userId,
String propKey,
String propValue) |
public MySqlBasedUserSettingsDbWithMultiBotsSupport()
public void saveRobotSettings(long botId,
long userId,
String propKey,
String propValue)
public void deleteRobotSettings(long botId,
long userId)
public void deleteRobotSettings(long botId,
long userId,
String propKey)
protected abstract DataSource getDataSource()
protected abstract String getTableName()
protected abstract org.apache.logging.log4j.Logger getLogger()
Copyright © 2017 iSuper.org. All Rights Reserved.