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
moduleIdFields inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
dbInfo, jsonMapper, jsonTypeFactory, transferData, user -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionClose(int contractId, long connectionId) voidconnectionFinish(int contractId, long connectionId) voiddeleteService(int id) deviceManage(int contractId, int deviceId, int serviceId, int connectionId, String operation) getDevice(int deviceId) getDeviceManagerMethodList(int deviceTypeId) static InetDAOgetInstance(User user, String billingId, int moduleId) Deprecated.getRootDevice(Set<Integer> deviceTypeIds, Set<Integer> deviceGroupIds) getService(int id) getServiceList(int contractId) Возвращает перечень сервисов в виде плоского списка.voidgetSessionAliveContractList(Pageable<InetSessionLog> result, int contractId) voidgetSessionLogContractList(Pageable<InetSessionLog> result, int contractId, Date dateFrom, Date dateTo) voidupdateService(InetService inetServ, List<InetServiceOption> optionList, boolean generateLogin, boolean generatePassword, long saWaitTimeout) voidupdateServiceState(int serviceId, int state) vlanResourceCategoryIds(int deviceId) Methods inherited from class ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO
getModuleId, setModuleIdMethods 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
-