public class ConfigDAO extends ru.bitel.common.dao.AbstractIdDao<ConfigData>
Constructor and Description |
---|
ConfigDAO(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
ConfigData |
getActiveConfig(int moduleId) |
protected ConfigData |
getFromRS(java.sql.ResultSet resultSet) |
java.util.List<ConfigData> |
list(int moduleId) |
java.util.List<ConfigData> |
list(int moduleId,
boolean loadConfig) |
void |
setActiveModuleConfig(int moduleId,
int configId) |
protected void |
updateImpl(ConfigData configData) |
delete, get, getAndDelete, getAndUpdate
public java.util.List<ConfigData> list(int moduleId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public ConfigData getActiveConfig(int moduleId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<ConfigData> list(int moduleId, boolean loadConfig) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected ConfigData getFromRS(java.sql.ResultSet resultSet) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<ConfigData>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(ConfigData configData) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<ConfigData>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public void setActiveModuleConfig(int moduleId, int configId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException