public class DevicePortDao extends ru.bitel.common.dao.AbstractDao<DeviceInterface>
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 |
|---|
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
ru.bitel.common.dao.AbstractDaoupdateImpl in class ru.bitel.common.dao.AbstractDao<DeviceInterface>b - экземпляр моделиru.bitel.bgbilling.common.BGException - ошибкиjava.sql.SQLException - ошибкиpublic 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