Class InetDAO

Direct Known Subclasses:
InetDAO8x

public class InetDAO extends BillingModuleDAO
  • Field Details

    • inetModule

      protected final String inetModule
  • Constructor Details

    • InetDAO

      protected InetDAO(User user, DBInfo dbInfo, String module, int moduleId)
    • InetDAO

      protected InetDAO(User user, String billingId, String module, int moduleId)
  • Method Details

    • getInstance

      public static InetDAO getInstance(User user, DBInfo dbInfo, int moduleId)
    • getInstance

      public static InetDAO getInstance(User user, String billingId, int moduleId)
    • getServiceList

      public List<InetService> getServiceList(int contractId)
      Возвращает перечень сервисов в виде плоского списка. Сборка в дерево, если необходимо, осуществляется на основании кодов сервисов-предков.
      Parameters:
      contractId -
      Returns:
    • getService

      public InetService getService(int id)
    • updateService

      public void updateService(InetService inetServ, List<InetServiceOption> optionList, boolean generateLogin, boolean generatePassword, long saWaitTimeout)
    • deleteService

      public void deleteService(int id)
    • updateServiceState

      public void updateServiceState(int serviceId, int state)
    • getServiceTypeList

      public List<InetServiceType> getServiceTypeList()
    • getDevice

      public InetDevice getDevice(int deviceId)
    • getRootDevice

      public InetDevice getRootDevice(Set<Integer> deviceTypeIds, Set<Integer> deviceGroupIds)
    • getDeviceManagerMethodList

      public List<InetDeviceManagerMethod> getDeviceManagerMethodList(int deviceTypeId)
    • deviceManage

      public String deviceManage(int deviceId, int serviceId, int connectionId, String operation)
    • getSessionAliveContractList

      public void getSessionAliveContractList(Pageable<InetSessionLog> result, int contractId)
    • getSessionLogContractList

      public void getSessionLogContractList(Pageable<InetSessionLog> result, int contractId, Date dateFrom, Date dateTo)
    • getSessionAliveList

      public void getSessionAliveList(Pageable<InetSessionLog> result, Set<Integer> deviceIds, Set<Integer> contractIds, String contract, String login, String ip, String callingStation, Date timeFrom, Date timeTo)
    • vlanResourceCategoryIds

      public Set<Integer> vlanResourceCategoryIds(int deviceId)
    • connectionClose

      public void connectionClose(int contractId, long connectionId) throws Exception
      Throws:
      Exception
    • connectionFinish

      public void connectionFinish(int contractId, long connectionId) throws Exception
      Throws:
      Exception