Class InetDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO
ru.bgcrm.plugin.bgbilling.proto.dao.InetDAO
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connectionClose
(int contractId, long connectionId) void
connectionFinish
(int contractId, long connectionId) void
deleteService
(int id) deviceManage
(int contractId, int deviceId, int serviceId, int connectionId, String operation) getDevice
(int deviceId) getDeviceManagerMethodList
(int deviceTypeId) static InetDAO
getInstance
(User user, String billingId, int moduleId) Deprecated.getRootDevice
(Set<Integer> deviceTypeIds, Set<Integer> deviceGroupIds) getService
(int id) getServiceList
(int contractId) Возвращает перечень сервисов в виде плоского списка.void
getSessionAliveContractList
(Pageable<InetSessionLog> result, int contractId) void
getSessionLogContractList
(Pageable<InetSessionLog> result, int contractId, Date dateFrom, Date dateTo) void
updateService
(InetService inetServ, List<InetServiceOption> optionList, boolean generateLogin, boolean generatePassword, long saWaitTimeout) void
updateServiceState
(int serviceId, int state) vlanResourceCategoryIds
(int deviceId) 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
-
Constructor Details
-
InetDAO
-
-
Method Details
-
getInstance
Deprecated. -
getServiceList
Возвращает перечень сервисов в виде плоского списка. Сборка в дерево, если необходимо, осуществляется на основании кодов сервисов-предков.- Parameters:
contractId
-- Returns:
-
getService
-
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
-
getDevice
-
getRootDevice
-
getDeviceManagerMethodList
-
deviceManage
-
getSessionAliveContractList
-
getSessionLogContractList
public void getSessionLogContractList(Pageable<InetSessionLog> result, int contractId, Date dateFrom, Date dateTo) -
vlanResourceCategoryIds
-
connectionClose
- Throws:
Exception
-
connectionFinish
- Throws:
Exception
-