public class InetServOptionDao extends ru.bitel.common.dao.AbstractDao<InetServOption>
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) |
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
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.SQLException
ru.bitel.bgbilling.common.BGException
public java.util.List<InetServOption> list(int serviceId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public int deleteByServId(int servId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void update(int servId, java.util.List<InetServOption> list) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public boolean optionIsUsed(int optionId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<InetServOption> getInetServRealtimeOptionList(int inetServId, java.util.Date fromDate) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(InetServOption b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<InetServOption>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException