public class DevicePortDao extends ru.bitel.common.dao.AbstractDao<DeviceInterface>
| Constructor and Description |
|---|
DevicePortDao(java.sql.Connection con,
int moduleId) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int deviceId,
int port) |
DeviceInterface |
get(int deviceId,
int port) |
protected DeviceInterface |
getFromRS(java.sql.ResultSet rs) |
protected DeviceInterface |
getFromRS(java.sql.ResultSet rs,
boolean title,
boolean indexList) |
java.util.List<DeviceInterface> |
list(int deviceId,
int status,
boolean title,
boolean indexList,
boolean subscription) |
java.util.List<DeviceInterface> |
list(int deviceId,
int status,
boolean title,
boolean indexList,
java.lang.String interfaceTitle) |
protected void |
updateImpl(DeviceInterface b) |
protected DeviceInterface getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS in class ru.bitel.common.dao.AbstractDao<DeviceInterface>java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected DeviceInterface getFromRS(java.sql.ResultSet rs, boolean title, boolean indexList) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
java.sql.SQLExceptionru.bitel.bgbilling.common.BGExceptionprotected void updateImpl(DeviceInterface b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl in class ru.bitel.common.dao.AbstractDao<DeviceInterface>ru.bitel.bgbilling.common.BGExceptionjava.sql.SQLExceptionpublic java.util.List<DeviceInterface> list(int deviceId, int status, boolean title, boolean indexList, java.lang.String interfaceTitle) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<DeviceInterface> list(int deviceId, int status, boolean title, boolean indexList, boolean subscription) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void delete(int deviceId,
int port)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic DeviceInterface get(int deviceId, int port) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException