Package ru.bgcrm.plugin.smarty.dao
Class SmartyDAOImpl
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.smarty.dao.SmartyDAOImpl
- All Implemented Interfaces:
SmartyDAO
-
Field Summary
FieldsFields inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
dbInfo, jsonMapper, jsonTypeFactory, transferData, user -
Constructor Summary
ConstructorsConstructorDescriptionSmartyDAOImpl(User user, String billingId) SmartyDAOImpl(User user, DBInfo dbInfo) -
Method Summary
Modifier and TypeMethodDescriptiondeactivateProduct(String contractTitle, int productSpecId) deleteAccountDevice(String deviceUid) getCustomerInfo(String contractTitle) protected RequestJsonRpcgetRequestJsonRpc(String methodName) protected <T> TparseResponseData(com.fasterxml.jackson.databind.JsonNode response, Class<T> clazz) syncAccounts(int contractId) Methods inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
doRequest, getDbInfo, getDeletedContractsFromBgOnSConnectCancel, getPage, getParameterId, getWebService, getWebService, getWS, getWSClient, isSupported, linesToString, processWebServiceException, readJsonValue, setPage
-
Field Details
-
TARIFF_API_SERVICE_NAME
- See Also:
-
TARIFF_API_MODULE_ID
- See Also:
-
-
Constructor Details
-
SmartyDAOImpl
- Throws:
BGException
-
SmartyDAOImpl
- Throws:
BGException
-
-
Method Details
-
getCustomerInfo
- Specified by:
getCustomerInfoin interfaceSmartyDAO- Throws:
BGException
-
syncAccounts
- Specified by:
syncAccountsin interfaceSmartyDAO- Throws:
BGException
-
deleteAccountDevice
- Specified by:
deleteAccountDevicein interfaceSmartyDAO- Throws:
BGException
-
deactivateProduct
- Specified by:
deactivateProductin interfaceSmartyDAO
-
getRequestJsonRpc
-
parseResponseData
-