public abstract class MySqlBasedUserRegistryDbWithMultiBotsSupport extends Object implements UserRegistryWithMultiBotsSupport
| Constructor and Description |
|---|
MySqlBasedUserRegistryDbWithMultiBotsSupport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addUser(long botId,
User user) |
boolean |
deactivateUser(long botId,
long userId) |
boolean |
deleteUser(long botId,
long userId) |
User |
getActiveUser(long botId,
long userId) |
protected abstract DataSource |
getDataSource() |
protected abstract org.apache.logging.log4j.Logger |
getLogger() |
protected abstract String |
getTableName() |
public MySqlBasedUserRegistryDbWithMultiBotsSupport()
public User getActiveUser(long botId, long userId)
public boolean addUser(long botId,
User user)
public boolean deactivateUser(long botId,
long userId)
public boolean deleteUser(long botId,
long userId)
protected abstract DataSource getDataSource()
protected abstract String getTableName()
protected abstract org.apache.logging.log4j.Logger getLogger()
Copyright © 2017 iSuper.org. All Rights Reserved.