public class InetDeviceDao
extends java.lang.Object
implements ru.bitel.common.worker.Recyclable
| Modifier and Type | Field and Description |
|---|---|
protected Directory<? extends EntitySpec> |
entitySpecDirectory |
| Constructor and Description |
|---|
InetDeviceDao(java.sql.Connection con,
int mid) |
InetDeviceDao(java.sql.Connection con,
int mid,
int userId) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkTables(java.sql.Connection con,
int moduleId,
java.util.Date initialDate) |
void |
delete(int id) |
InetDevice |
get(int id) |
Directory<? extends EntitySpec> |
getEntitySpecDirectory() |
java.util.List<InetDevice> |
inetDeviceList(int deviceTypeId) |
java.util.List<InetDevice> |
listByInvDeviceId(int id) |
java.util.List<InetDevice> |
listSource() |
void |
move(int newParentId,
java.util.Set<java.lang.Integer> children) |
InetDevice |
node(java.util.List<FilterEntityAttr> entityFilter,
int deviceId,
boolean loadDeviceGroupIds) |
void |
recycle() |
InetDevice |
root(java.lang.String identifier,
java.lang.String host,
java.util.Set<java.lang.Integer> deviceTypeIds,
java.util.Set<java.lang.Integer> deviceGroupIds,
java.util.Date dateFrom,
java.util.Date dateTo,
java.util.Date intersectDateFrom,
java.util.Date intersectDateTo,
java.util.List<FilterEntityAttr> entityFilter,
boolean loadDeviceGroupIds,
boolean loadAncestors) |
InetDevice |
rootSource() |
void |
update(InetDevice b) |
protected Directory<? extends EntitySpec> entitySpecDirectory
public InetDeviceDao(java.sql.Connection con,
int mid,
int userId)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic InetDeviceDao(java.sql.Connection con,
int mid)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic InetDevice root(java.lang.String identifier, java.lang.String host, java.util.Set<java.lang.Integer> deviceTypeIds, java.util.Set<java.lang.Integer> deviceGroupIds, java.util.Date dateFrom, java.util.Date dateTo, java.util.Date intersectDateFrom, java.util.Date intersectDateTo, java.util.List<FilterEntityAttr> entityFilter, boolean loadDeviceGroupIds, boolean loadAncestors) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic InetDevice node(java.util.List<FilterEntityAttr> entityFilter, int deviceId, boolean loadDeviceGroupIds) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic InetDevice get(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic Directory<? extends EntitySpec> getEntitySpecDirectory() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void update(InetDevice b) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void move(int newParentId,
java.util.Set<java.lang.Integer> children)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void delete(int id)
throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic void recycle()
recycle in interface ru.bitel.common.worker.Recyclablepublic InetDevice rootSource() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<InetDevice> listSource() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic java.util.List<InetDevice> listByInvDeviceId(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionpublic static void checkTables(java.sql.Connection con,
int moduleId,
java.util.Date initialDate)
public java.util.List<InetDevice> inetDeviceList(int deviceTypeId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException