Class TrafficRangeSpecDao
java.lang.Object
ru.bitel.common.dao.AbstarctDaoConstant
ru.bitel.common.dao.AbstractDao<B>
ru.bitel.common.dao.AbstractIdDao<TrafficRangeSpec>
ru.bitel.bgbilling.modules.inet.server.bean.TrafficRangeSpecDao
- All Implemented Interfaces:
- java.lang.AutoCloseable,- Directory<TrafficRangeSpec>
public class TrafficRangeSpecDao extends ru.bitel.common.dao.AbstractIdDao<TrafficRangeSpec> implements Directory<TrafficRangeSpec>
- 
Nested Class SummaryNested classes/interfaces inherited from class ru.bitel.common.dao.AbstractDaoru.bitel.common.dao.AbstractDao.ResultSetIterator
- 
Field SummaryFields inherited from class ru.bitel.common.dao.AbstractDaocacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, moduleId, orderByPattern, tableNameFields inherited from class ru.bitel.common.dao.AbstarctDaoConstantERROR, fields, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_DISTINCT, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_LIMIT, SQL_ON_DUPLICATE_KEY_UPDATE, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_VALUES, SQL_WHERE
- 
Constructor SummaryConstructors Constructor Description TrafficRangeSpecDao(java.sql.Connection con, int moduleId)
- 
Method SummaryModifier and Type Method Description intdelete(int id)Удаление элемента по idTrafficRangeSpecget(java.lang.String title)Получение элемента по title(name) Может быть не имплементировано - в этом случае бросаетсяUnsupportedOperationExceptionprotected TrafficRangeSpecgetFromRS(java.sql.ResultSet rs)java.util.List<TrafficRangeSpec>list()Получение всего списка элементов из справочникаprotected voidupdateImpl(TrafficRangeSpec b)Methods inherited from class ru.bitel.common.dao.AbstractIdDaoget, getAndDelete, getAndUpdateMethods inherited from class ru.bitel.common.dao.AbstractDaoclose, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getQueryById, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, updateMethods inherited from class ru.bitel.common.dao.AbstarctDaoConstantgetSQLOrderMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
TrafficRangeSpecDaopublic TrafficRangeSpecDao(java.sql.Connection con, int moduleId)
 
- 
- 
Method Details- 
getFromRSprotected TrafficRangeSpec getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException- Specified by:
- getFromRSin class- ru.bitel.common.dao.AbstractDao<TrafficRangeSpec>
- Throws:
- java.sql.SQLException
- ru.bitel.bgbilling.common.BGException
 
- 
updateImplprotected void updateImpl(TrafficRangeSpec b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException- Specified by:
- updateImplin class- ru.bitel.common.dao.AbstractDao<TrafficRangeSpec>
- Throws:
- ru.bitel.bgbilling.common.BGException
- java.sql.SQLException
 
- 
getDescription copied from interface:DirectoryПолучение элемента по title(name) Может быть не имплементировано - в этом случае бросаетсяUnsupportedOperationException- Specified by:
- getin interface- Directory<TrafficRangeSpec>
- Returns:
- Throws:
- ru.bitel.bgbilling.common.BGException
 
- 
listDescription copied from interface:DirectoryПолучение всего списка элементов из справочника- Specified by:
- listin interface- Directory<TrafficRangeSpec>
- Returns:
- Throws:
- ru.bitel.bgbilling.common.BGException
 
- 
deletepublic int delete(int id) throws ru.bitel.bgbilling.common.BGExceptionDescription copied from interface:DirectoryУдаление элемента по id- Specified by:
- deletein interface- Directory<TrafficRangeSpec>
- Overrides:
- deletein class- ru.bitel.common.dao.AbstractIdDao<TrafficRangeSpec>
- Returns:
- Throws:
- ru.bitel.bgbilling.common.BGException
 
 
-