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.BGException
public InetDeviceDao(java.sql.Connection con, int mid) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public 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.BGException
public InetDevice node(java.util.List<FilterEntityAttr> entityFilter, int deviceId, boolean loadDeviceGroupIds) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public InetDevice get(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public Directory<? extends EntitySpec> getEntitySpecDirectory() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void update(InetDevice b) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void move(int newParentId, java.util.Set<java.lang.Integer> children) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void delete(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void recycle()
recycle
in interface ru.bitel.common.worker.Recyclable
public InetDevice rootSource() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<InetDevice> listSource() throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<InetDevice> listByInvDeviceId(int id) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public 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