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 BillingModuleDAO
moduleIdFields inherited from class 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) 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 BillingModuleDAO
getModuleId, setModuleIdMethods inherited from class BillingDAO
doRequest, getDbInfo, getPage, getVersion, linesToString, readJsonValue, setPage
-
Constructor Details
-
InetDAO
-
-
Method Details
-
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
-
connectionFinish
-