Class AbstractEntityDao<E extends Entity>
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.dao.AbstarctDaoConstant
ru.bitel.common.dao.AbstractDao<E>
ru.bitel.common.dao.AbstractIdDao<E>
ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDao<E>
ru.bitel.oss.kernel.entity.server.bean.AbstractEntityDao<E>
- All Implemented Interfaces:
- AutoCloseable
- Direct Known Subclasses:
- DeviceDao,- InetDeviceDao,- InetServDao,- ProductSpecDao,- ServiceSpecDao,- TvChannelSpecDao,- VoiceAccountDao
- 
Nested Class SummaryNested classes/interfaces inherited from class ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDaoAbstractEntityAttrDao.AddressItemModifiedEventListenerNested classes/interfaces inherited from class ru.bitel.common.dao.AbstractDaoru.bitel.common.dao.AbstractDao.ResultSetIterator
- 
Field SummaryFields inherited from class ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDaoCONTRACT_OBJECT_SUPPORT, CONTRACT_SUPPORT, ENTITY_SUPPORT, entitySpecAttrDirectory, entitySpecDirectory, entityTableSuffix, filterWeightComparator, userIdFields 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_ALL, SQL_AND, SQL_CALC_FOUND_ROWS, SQL_DELETE, SQL_DISTINCT, SQL_EQ, SQL_EQCS, SQL_FROM, SQL_GROUP, SQL_IN, SQL_INSERT, SQL_JOIN, SQL_LEFT_JOIN, SQL_LIMIT, SQL_NOT_IN, SQL_ON, SQL_ON_DUPLICATE_KEY_UPDATE, SQL_ORDER, SQL_SELECT, SQL_SET, SQL_UPDATE, SQL_VALUES, SQL_WHERE
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractEntityDao(Connection con, int moduleId, int userId, String tableName, String entityTableSuffix) AbstractEntityDao(Connection con, int moduleId, int userId, String tableName, String entityTableSuffix, EntityAttrDaoSupport entityAttrDaoSupport) 
- 
Method SummaryModifier and TypeMethodDescriptionintdelete(int id) protected Eprotected Eprotected abstract Eprotected voidlinkEntity(Entity entity) list(boolean loadAttributes, Page page, String what, String join, List<FilterEntityAttr> entityFilter, String filter, String groupBy, String orderBy, Object... params) protected voidunlinkEntity(int entityId) voidMethods inherited from class ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDaocheckEntityAttribute, checkEntitySpecAttrDelete, deleteEntityAttribute, deleteEntityAttributes, filterInit, filterJoin, filterToPS, getAllEntityAttributes, getAttribute, getEntityAttribute, getEntityAttributes, getEntityAttributes, getEntitySpecAttrDirectory, getEntitySpecDirectory, getEntityTableName, getEntityTableSuffix, getEntityValueForIds, listImpl, onAddressItemUpdate, optEntityAttribute, updateEntityAttribute, updateEntityAttributesMethods inherited from class ru.bitel.common.dao.AbstractIdDaoexecuteUpdate, get, getAndDelete, getAndUpdate, optMethods inherited from class ru.bitel.common.dao.AbstractDaoclose, delete, deleteImpl, dropTemporaryTable, eq, get, getById, getImpl, getListFromRS, getPeriod, getQueryById, getSQLOrder, getTableName, list, listImpl, listImplPS, listImplPS, loadData, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, processException, setPageRecordCount, setStatementParam, updateImplMethods inherited from class ru.bitel.common.dao.AbstarctDaoConstantgetSQLOrder, psSetDate, psSetInt, psSetString, sqlLimitMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLoggererror, error, error, getLogger, logError, logError, warn
- 
Constructor Details- 
AbstractEntityDaopublic AbstractEntityDao(Connection con, int moduleId, int userId, String tableName, String entityTableSuffix) 
- 
AbstractEntityDaopublic AbstractEntityDao(Connection con, int moduleId, int userId, String tableName, String entityTableSuffix, EntityAttrDaoSupport entityAttrDaoSupport) 
 
- 
- 
Method Details- 
linkEntity- Throws:
- ru.bitel.bgbilling.common.BGException
 
- 
unlinkEntity- Throws:
- SQLException
 
- 
update- Overrides:
- updatein class- ru.bitel.common.dao.AbstractDao<E extends Entity>
- Throws:
- ru.bitel.bgbilling.common.BGException
- SQLException
 
- 
delete
- 
listprotected List<E> list(boolean loadAttributes, Page page, String what, String join, List<FilterEntityAttr> entityFilter, String filter, String groupBy, String orderBy, Object... params) throws ru.bitel.bgbilling.common.BGException - Overrides:
- listin class- AbstractEntityAttrDao<E extends Entity>
- Throws:
- ru.bitel.bgbilling.common.BGException
 
- 
getFromRSprotected E getFromRS(ResultSet rs, boolean loadAttributes) throws SQLException, ru.bitel.bgbilling.common.BGException - Specified by:
- getFromRSin class- AbstractEntityAttrDao<E extends Entity>
- Throws:
- SQLException
- ru.bitel.bgbilling.common.BGException
 
- 
getFromRSImplprotected abstract E getFromRSImpl(ResultSet rs) throws SQLException, ru.bitel.bgbilling.common.BGException - Throws:
- SQLException
- ru.bitel.bgbilling.common.BGException
 
- 
list
- 
listImplprotected List<E> listImpl(Page page, String filter, String orderBy, Object... params) throws ru.bitel.bgbilling.common.BGException, SQLException - Overrides:
- listImplin class- ru.bitel.common.dao.AbstractDao<E extends Entity>
- Throws:
- ru.bitel.bgbilling.common.BGException
- SQLException
 
- 
getFromRS- Overrides:
- getFromRSin class- AbstractEntityAttrDao<E extends Entity>
- Throws:
- SQLException
- ru.bitel.bgbilling.common.BGException
 
 
-