Class InetDeviceDao
java.lang.Object
ru.bitel.common.dao.AbstarctDaoConstant
ru.bitel.common.dao.AbstractDao<B>
ru.bitel.common.dao.AbstractIdDao<E>
ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDao<E>
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.AddressItemModifiedEventListener
Nested classes/interfaces inherited from class ru.bitel.common.dao.AbstractDao
ru.bitel.common.dao.AbstractDao.ResultSetIterator
-
Field Summary
Fields inherited from class ru.bitel.oss.kernel.entity.server.bean.AbstractEntityAttrDao
CONTRACT_OBJECT_SUPPORT, CONTRACT_SUPPORT, ENTITY_SUPPORT, entitySpecAttrDirectory, entityTableSuffix, filterWeightComparator, userId
Fields inherited from class ru.bitel.common.dao.AbstractDao
cacheFilter, cacheJoin, cacheOrderBy, cachePaged, cachePS, cacheWhat, con, getByIdPS, moduleId, orderByPattern, tableName
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkTables
(Connection con, int moduleId, Date initialDate) void
close()
int
delete
(int id) get
(int id) Directory<? extends EntitySpec>
protected InetDevice
inetDeviceList
(int deviceTypeId) listByInvDeviceId
(int id) void
node
(List<FilterEntityAttr> entityFilter, int deviceId, boolean loadDeviceGroupIds) boolean
reorder
(int srcDeviceId, int parentDeviceId, int pos) root
(DeviceTreeFilter deviceTreeFilter, boolean loadAncestors) protected void
updateImpl
(InetDevice inetDevice) Methods inherited from class ru.bitel.oss.kernel.entity.server.bean.AbstractEntityDao
getFromRS, getFromRS, linkEntity, list, list, listImpl, unlinkEntity, update
Methods 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, updateEntityAttributes
Methods inherited from class ru.bitel.common.dao.AbstractIdDao
getAndDelete, getAndUpdate, opt
Methods inherited from class ru.bitel.common.dao.AbstractDao
delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getQueryById, getSQLOrder, getTableName, list, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, ormUpdateImpl, processException, setStatementParam
Methods inherited from class ru.bitel.common.dao.AbstarctDaoConstant
getLogger, getSQLOrder
-
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:
get
in 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:
getEntitySpecDirectory
in 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:
delete
in classAbstractEntityDao<InetDevice>
- Throws:
ru.bitel.bgbilling.common.BGException
-
close
public void close() throws ru.bitel.bgbilling.common.BGException- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in 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:
getFromRSImpl
in classAbstractEntityDao<InetDevice>
- Throws:
SQLException
ru.bitel.bgbilling.common.BGException
-
updateImpl
protected void updateImpl(InetDevice inetDevice) throws ru.bitel.bgbilling.common.BGException, SQLException - Specified by:
updateImpl
in classru.bitel.common.dao.AbstractDao<InetDevice>
- Throws:
ru.bitel.bgbilling.common.BGException
SQLException
-
reorder
public boolean reorder(int srcDeviceId, int parentDeviceId, int pos) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-