Package ru.bitel.bgbilling.modules.inet.common.service

# Interface InetDeviceService

All Superinterfaces:
  `DeviceService<InvDevice,InetDeviceType>`

public interface InetDeviceService extends DeviceService<InvDevice,InetDeviceType>

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `deviceManage(int invDeviceId, int inetDeviceId, String operation, int servId, int connectionId, long timeout)`
  `String`
  `deviceManage(int invDeviceId, String operation, int servId, int connectionId, long timeout)`
  `void`
  `deviceReload()`
  `void`
  `deviceReload(int rootDeviceId)`
  `void`
  `deviceSaReinit(int id)`
  `List<InetDevice>`
  `deviceSourceList()`
  `InetDevice`
  `deviceSourceRoot()`
  `List<InetServ>`
  `getContracts(int id)`
  `void`
  `inetDeviceDelete(int id)`
  Удаление устройства из дерева устройств (таблица inet_device_tree в БД).
  `InetDevice`
  `inetDeviceGet(int id)`
  `List<InetDevice>`
  `inetDeviceList(int deviceTypeId)`
  `void`
  `inetDeviceMove(int id, Set<Integer> cutSet)`
  `InetDevice`
  `inetDeviceRoot(DeviceTreeFilter deviceTreeFilter, boolean loadAncestors)`
  `org.json.JSONObject`
  `inetDeviceTree()`
  `int`
  `inetDeviceUpdate(InetDevice inetDevice, boolean updateInvDevice)`
  `boolean`
  `isUniqueInterface(int deviceTypeId)`
  `Set<Integer>`
  `svlanResourceCategoryIds(int deviceId)`

  ### Methods inherited from interface ru.bitel.oss.systems.inventory.resource.common.service.DeviceService

  `configParameterList, deviceConfigPreview, deviceDelete, deviceGet, deviceGroupDelete, deviceGroupGet, deviceGroupRoot, deviceGroupUpdate, deviceList, deviceManagerMethodList, deviceMove, deviceRoot, deviceTreeReorder, deviceTypeDelete, deviceTypeGet, deviceTypeList, deviceTypeTitleList, deviceTypeUpdate, deviceUpdate`

- ## Method Details

  - ### deviceReload

    @RequestWrapper(className="ru.bitel.bgbilling.modules.inet.common.service.jaxws.DeviceReloadOldRequest") @ResponseWrapper(className="ru.bitel.bgbilling.modules.inet.common.service.jaxws.DeviceReloadOldResponse") void deviceReload() throws Exception
    Throws:
      `Exception`

  - ### deviceReload

    void deviceReload(int rootDeviceId) throws Exception
    Throws:
      `Exception`

  - ### deviceSaReinit

    void deviceSaReinit(int id) throws Exception
    Throws:
      `Exception`

  - ### deviceManage

    @RequestWrapper(className="ru.bitel.bgbilling.modules.inet.common.service.jaxws.DeviceManageOldRequest") @ResponseWrapper(className="ru.bitel.bgbilling.modules.inet.common.service.jaxws.DeviceManageOldResponse") String deviceManage(int invDeviceId, String operation, int servId, int connectionId, long timeout) throws Exception
    Throws:
      `Exception`

  - ### deviceManage

    String deviceManage(int invDeviceId, int inetDeviceId, String operation, int servId, int connectionId, long timeout) throws Exception
    Throws:
      `Exception`

  - ### getContracts

    List<InetServ> getContracts(int id) throws Exception
    Throws:
      `Exception`

  - ### inetDeviceGet

    InetDevice inetDeviceGet(int id) throws Exception
    Throws:
      `Exception`

  - ### deviceSourceList

    List<InetDevice> deviceSourceList() throws Exception
    Throws:
      `Exception`

  - ### deviceSourceRoot

    InetDevice deviceSourceRoot() throws Exception
    Throws:
      `Exception`

  - ### inetDeviceDelete

    void inetDeviceDelete(int id) throws Exception
    Удаление устройства из дерева устройств (таблица inet_device_tree в БД).
    Parameters:
      `id` - код устройства в дереве устройств.

  - ### inetDeviceUpdate

    int inetDeviceUpdate(InetDevice inetDevice, boolean updateInvDevice) throws Exception
    Throws:
      `Exception`

  - ### inetDeviceRoot

    InetDevice inetDeviceRoot(DeviceTreeFilter deviceTreeFilter, boolean loadAncestors) throws Exception
    Throws:
      `Exception`

  - ### inetDeviceTree

    org.json.JSONObject inetDeviceTree() throws Exception
    Throws:
      `Exception`

  - ### inetDeviceMove

    void inetDeviceMove(int id, Set<Integer> cutSet) throws Exception
    Throws:
      `Exception`

  - ### inetDeviceList

    List<InetDevice> inetDeviceList(int deviceTypeId) throws Exception
    Throws:
      `Exception`

  - ### isUniqueInterface

    boolean isUniqueInterface(int deviceTypeId) throws Exception
    Throws:
      `Exception`

  - ### svlanResourceCategoryIds

    Set<Integer> svlanResourceCategoryIds(int deviceId) throws Exception
    Throws:
      `Exception`