public class ModuleConfigManager extends ru.bitel.common.dao.AbstractIdDao<ModuleConfig>
Constructor and Description |
---|
ModuleConfigManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
ModuleConfig |
get(int moduleId,
int id) |
int |
getActive(int moduleId) |
protected ModuleConfig |
getFromRS(java.sql.ResultSet rs) |
java.util.List<ModuleConfig> |
list(int moduleId) |
void |
setActive(int moduleId,
int id) |
protected void |
updateImpl(ModuleConfig config) |
delete, get, getAndDelete, getAndUpdate
protected ModuleConfig getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException
getFromRS
in class ru.bitel.common.dao.AbstractDao<ModuleConfig>
java.sql.SQLException
protected void updateImpl(ModuleConfig config) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<ModuleConfig>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<ModuleConfig> list(int moduleId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public ModuleConfig get(int moduleId, int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void setActive(int moduleId, int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public int getActive(int moduleId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException