Class InetDeviceDao
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.dao.AbstarctDaoConstant
ru.bitel.common.dao.AbstractDao<InetDevice>
ru.bitel.common.dao.AbstractIdDao<InetDevice>
ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDao<InetDevice>
ru.bitel.oss.kernel.entity.server.bean.AbstractEntityDao<InetDevice>
ru.bitel.bgbilling.modules.inet.server.bean.InetDeviceDao
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDao
AbstractEntityAttrDao.AddressItemModifiedEventListenerNested classes/interfaces inherited from class ru.bitel.common.dao.AbstractDao
ru.bitel.common.dao.AbstractDao.ResultSetIterator -
Field Summary
FieldsFields inherited from class ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDao
CONTRACT_OBJECT_SUPPORT, CONTRACT_SUPPORT, ENTITY_SUPPORT, entitySpecAttrDirectory, entityTableSuffix, filterWeightComparator, userIdFields inherited from class ru.bitel.common.dao.AbstractDao
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, moduleId, orderByPattern, tableNameFields inherited from class ru.bitel.common.dao.AbstarctDaoConstant
ERROR, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckTables(Connection con, int moduleId, Date initialDate) voidclose()intdelete(int id) get(int id) Directory<? extends EntitySpec> protected InetDeviceinetDeviceList(int deviceTypeId) listByInvDeviceId(int id) voidnode(List<FilterEntityAttr> entityFilter, int deviceId, boolean loadDeviceGroupIds) booleanreorder(int srcDeviceId, int parentDeviceId, int pos) root(DeviceTreeFilter deviceTreeFilter, boolean loadAncestors) protected voidupdateImpl(InetDevice inetDevice) Methods inherited from class ru.bitel.oss.kernel.entity.server.bean.AbstractEntityDao
getFromRS, getFromRS, linkEntity, list, list, listImpl, unlinkEntity, updateMethods inherited from class ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDao
checkEntityAttribute, checkEntitySpecAttrDelete, deleteEntityAttribute, deleteEntityAttributes, filterInit, filterJoin, filterToPS, getAllEntityAttributes, getAttribute, getEntityAttribute, getEntityAttributes, getEntityAttributes, getEntitySpecAttrDirectory, getEntityTableName, getEntityTableSuffix, getEntityValueForIds, listImpl, onAddressItemUpdate, optEntityAttribute, updateEntityAttribute, updateEntityAttributesMethods inherited from class ru.bitel.common.dao.AbstractIdDao
executeUpdate, getAndDelete, getAndUpdate, optMethods inherited from class ru.bitel.common.dao.AbstractDao
delete, deleteImpl, dropTemporaryTable, eq, get, getById, getImpl, getListFromRS, getPeriod, getQueryById, getSQLOrder, getTableName, list, listImpl, listImplPS, listImplPS, loadData, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, processException, setPageRecordCount, setStatementParamMethods inherited from class ru.bitel.common.dao.AbstarctDaoConstant
getSQLOrder, psSetDate, psSetInt, psSetString, sqlLimitMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Field Details
-
entitySpecDirectory
-
-
Constructor Details
-
InetDeviceDao
- Throws:
ru.bitel.bgbilling.common.BGException
-
-
Method Details
-
root
public InetDevice root(DeviceTreeFilter deviceTreeFilter, boolean loadAncestors) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
node
public InetDevice node(List<FilterEntityAttr> entityFilter, int deviceId, boolean loadDeviceGroupIds) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
get
- Overrides:
getin classru.bitel.common.dao.AbstractIdDao<InetDevice>- Throws:
ru.bitel.bgbilling.common.BGException
-
getEntitySpecDirectory
public Directory<? extends EntitySpec> getEntitySpecDirectory() throws ru.bitel.bgbilling.common.BGException- Overrides:
getEntitySpecDirectoryin classAbstractEntityAttrDao<InetDevice>- Throws:
ru.bitel.bgbilling.common.BGException
-
move
public void move(int newParentId, Set<Integer> children) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
delete
public int delete(int id) throws ru.bitel.bgbilling.common.BGException - Overrides:
deletein classAbstractEntityDao<InetDevice>- Throws:
ru.bitel.bgbilling.common.BGException
-
close
public void close() throws ru.bitel.bgbilling.common.BGException- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classru.bitel.common.dao.AbstractDao<InetDevice>- Throws:
ru.bitel.bgbilling.common.BGException
-
rootSource
- Throws:
ru.bitel.bgbilling.common.BGException
-
listSource
- Throws:
ru.bitel.bgbilling.common.BGException
-
listByInvDeviceId
- Throws:
ru.bitel.bgbilling.common.BGException
-
checkTables
-
inetDeviceList
public List<InetDevice> inetDeviceList(int deviceTypeId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
inetDeviceList
- Throws:
ru.bitel.bgbilling.common.BGException
-
getFromRSImpl
protected InetDevice getFromRSImpl(ResultSet rs) throws SQLException, ru.bitel.bgbilling.common.BGException - Specified by:
getFromRSImplin classAbstractEntityDao<InetDevice>- Throws:
SQLExceptionru.bitel.bgbilling.common.BGException
-
updateImpl
protected void updateImpl(InetDevice inetDevice) throws ru.bitel.bgbilling.common.BGException, SQLException - Specified by:
updateImplin classru.bitel.common.dao.AbstractDao<InetDevice>- Throws:
ru.bitel.bgbilling.common.BGExceptionSQLException
-
reorder
public boolean reorder(int srcDeviceId, int parentDeviceId, int pos) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-