Package ru.bgcrm.plugin.bgbilling.dao
Class BillingDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
- Direct Known Subclasses:
AddressQuarterDAO,BalanceDAO,BGBillingServiceAPIImpl,BillingAddressDAO,BillingJsonRpcClient,BillingModuleDAO,CashCheckDAO,CommonTariffDAO,ContractDAO,ContractDAO,ContractHierarchyDAO,ContractObjectDAO,ContractObjectParamDAO,ContractParamDAO,ContractScriptDAO,ContractServiceDAO,ContractStatusDAO,ContractTariffDAO,CrmDAO,DirectoryDAO,HelpDeskDAO,MaintenanceFLBillingServiceImpl,MaintenanceServiceBg7,PluginDAO,SmartyDAOImpl,TariffOptionActivationModeDAO,VoiceIpDAO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DBInfoprotected com.fasterxml.jackson.databind.ObjectMapperprotected com.fasterxml.jackson.databind.type.TypeFactoryprotected TransferDataprotected User -
Constructor Summary
ConstructorsConstructorDescriptionBillingDAO(User user, String billingId) BillingDAO(User user, DBInfo dbInfo) -
Method Summary
Modifier and TypeMethodDescriptiongetDeletedContractsFromBgOnSConnectCancel(Set<Integer> contractLinks) protected voidgetParameterId(String values) Возвращает из сроки вида billingId1:paramId1;billingId2:paramId2 код параметра для текущего биллинга.protected <K extends javax.xml.ws.Service,S>
SgetWebService(Class<K> clazz, Class<S> serviceClass) protected <K extends javax.xml.ws.Service,S>
SgetWebService(Class<K> clazz, Class<S> serviceClass, int moduleId) static <T> Tprotected booleanprotected StringlinesToString(Element node) protected voidprotected <T> TreadJsonValue(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.JavaType valueType) protected void
-
Field Details
-
user
-
dbInfo
-
transferData
-
jsonMapper
protected com.fasterxml.jackson.databind.ObjectMapper jsonMapper -
jsonTypeFactory
protected com.fasterxml.jackson.databind.type.TypeFactory jsonTypeFactory
-
-
Constructor Details
-
BillingDAO
- Throws:
BGException
-
BillingDAO
- Throws:
BGException
-
-
Method Details
-
doRequest
- Throws:
BGException
-
setPage
-
getPage
-
getParameterId
Возвращает из сроки вида billingId1:paramId1;billingId2:paramId2 код параметра для текущего биллинга.- Parameters:
values-- Returns:
- Throws:
BGException
-
getDbInfo
-
linesToString
-
getWebService
protected <K extends javax.xml.ws.Service,S> S getWebService(Class<K> clazz, Class<S> serviceClass) throws BGException - Throws:
BGException
-
getWebService
protected <K extends javax.xml.ws.Service,S> S getWebService(Class<K> clazz, Class<S> serviceClass, int moduleId) throws BGException - Throws:
BGException
-
processWebServiceException
- Throws:
BGException
-
readJsonValue
protected <T> T readJsonValue(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.JavaType valueType) throws BGException - Throws:
BGException
-
getWSClient
-
getWS
- Throws:
BGException
-
isSupported
protected boolean isSupported() -
getDeletedContractsFromBgOnSConnectCancel
-