public class InetServOptionDao extends ru.bitel.common.dao.AbstractDao<InetServOption>
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, logger, mid, moduleId, orderByPattern, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_LIMIT, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_WHERE, tableName| Constructor and Description |
|---|
InetServOptionDao(java.sql.Connection con,
int mid) |
| Modifier and Type | Method and Description |
|---|---|
int |
deleteByServId(int servId) |
protected InetServOption |
getFromRS(java.sql.ResultSet rs) |
java.util.List<InetServOption> |
getInetServRealtimeOptionList(int inetServId,
java.util.Date fromDate) |
java.util.List<InetServOption> |
list(int serviceId) |
boolean |
optionIsUsed(int optionId) |
void |
update(int servId,
java.util.List<InetServOption> list) |
protected void |
updateImpl(InetServOption b)
Этот метод каждый реализует сам со своей логикой.
|
protected InetServOption getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<InetServOption>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionpublic java.util.List<InetServOption> list(int serviceId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic int deleteByServId(int servId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void update(int servId,
java.util.List<InetServOption> list)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic boolean optionIsUsed(int optionId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<InetServOption> getInetServRealtimeOptionList(int inetServId, java.util.Date fromDate) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(InetServOption b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDaoupdateImpl in class ru.bitel.common.dao.AbstractDao<InetServOption>b - экземпляр моделиru.bitel.bgbilling.common.BGException - ошибкиjava.sql.SQLException - ошибки