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.SQLException
ru.bitel.bgbilling.common.BGException
protected DeviceInterface getFromRS(java.sql.ResultSet rs, boolean title, boolean indexList) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(DeviceInterface b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDao
updateImpl
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.BGException
public 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.BGException
public void delete(int deviceId, int port) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public DeviceInterface get(int deviceId, int port) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException