Package ru.bgcrm.plugin.bgbilling.proto.dao

# Class InventoryDAO

java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO
ru.bgcrm.plugin.bgbilling.proto.dao.InventoryDAO

public class InventoryDAO extends BillingModuleDAO

- ## Field Summary

  ### Fields inherited from class ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO

  `moduleId`

  ### Fields inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO

  `dbInfo, jsonMapper, jsonTypeFactory, transferData, user`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InventoryDAO(User user, String billingId, int moduleId)`
  `InventoryDAO(User user, DBInfo dbInfo, int moduleId)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Optional<InetDeviceInterface>`
  `devicePort(int invDeviceId, int port)`
  `List<InetDeviceInterface>`
  `devicePortList(int invDeviceId, boolean subscriber)`

  ### Methods inherited from class ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO

  `getModuleId, setModuleId`

  ### Methods inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO

  `doRequest, getDbInfo, getPage, getParameterId, getVersion, linesToString, readJsonValue, setPage`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### InventoryDAO

    public InventoryDAO(User user, DBInfo dbInfo, int moduleId)

  - ### InventoryDAO

    public InventoryDAO(User user, String billingId, int moduleId)

- ## Method Details

  - ### devicePortList

    public List<InetDeviceInterface> devicePortList(int invDeviceId, boolean subscriber)

  - ### devicePort

    public Optional<InetDeviceInterface> devicePort(int invDeviceId, int port)