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
- Direct Known Subclasses:
InetDAO8x
-
Field Summary
Fields inherited from class ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO
moduleId
Fields inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
COMMENT, DATE_1, DATE_2, dbInfo, jsonMapper, jsonTypeFactory, PARAMETERS, TITLE, transferData, user, VALUE
-
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) static InetDAO
getInstance
(User user, DBInfo dbInfo, int moduleId) 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
-
Field Details
-
inetModule
-
-
Constructor Details
-
InetDAO
-
InetDAO
-
-
Method Details
-
getInstance
-
getInstance
-
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
-