public class InetDeviceTypeDao extends DeviceTypeDao<InetDeviceType>
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 |
---|
InetDeviceTypeDao(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
int |
delete(int id)
Удаляет объект по его ID.
|
protected InetDeviceType |
getFromRS(java.sql.ResultSet rs) |
protected InetDeviceType |
newDeviceType() |
protected void |
updateImpl(InetDeviceType b)
Этот метод каждый реализует сам со своей логикой.
|
activateConfig, get, list
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getSQLOrder, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, processException, recycle, setStatementParam, update
protected InetDeviceType newDeviceType()
newDeviceType
in class DeviceTypeDao<InetDeviceType>
protected InetDeviceType getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<InetDeviceType>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(InetDeviceType b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
ru.bitel.common.dao.AbstractDao
updateImpl
in class ru.bitel.common.dao.AbstractDao<InetDeviceType>
b
- экземпляр моделиru.bitel.bgbilling.common.BGException
- ошибкиjava.sql.SQLException
- ошибкиpublic int delete(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.common.dao.AbstractIdDao
delete
in interface ru.bitel.bgbilling.kernel.directory.api.common.Directory<InetDeviceType>
delete
in class ru.bitel.common.dao.AbstractIdDao<InetDeviceType>
ru.bitel.bgbilling.common.BGException