Package ru.bgcrm.plugin.bgbilling.dao
Class BillingDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
- Direct Known Subclasses:
BalanceDAO
,BillingModuleDAO
,CashCheckDAO
,ContractDAO
,ContractDAO
,ContractHierarchyDAO
,ContractObjectDAO
,ContractObjectParamDAO
,ContractParamDAO
,ContractScriptDAO
,ContractServiceDAO
,ContractStatusDAO
,ContractTariffDAO
,DirectoryDAO
,DispatchDAO
,HelpDeskDAO
,PluginDAO
-
Field Summary
Modifier and TypeFieldDescriptionprotected DBInfo
protected com.fasterxml.jackson.databind.ObjectMapper
protected com.fasterxml.jackson.databind.type.TypeFactory
protected TransferData
protected User
-
Constructor Summary
ConstructorDescriptionBillingDAO
(User user, String billingId) BillingDAO
(User user, DBInfo dbInfo) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
getParameterId
(String values) Возвращает из сроки вида billingId1:paramId1;billingId2:paramId2 код параметра для текущего биллинга.static String
getVersion
(User user, String billingId) protected String
linesToString
(Element node) protected <T> T
readJsonValue
(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
-
BillingDAO
-
-
Method Details
-
getVersion
-
doRequest
-
setPage
-
getPage
-
getParameterId
Возвращает из сроки вида billingId1:paramId1;billingId2:paramId2 код параметра для текущего биллинга.- Parameters:
values
-- Returns:
-
getDbInfo
-
linesToString
-
readJsonValue
protected <T> T readJsonValue(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.JavaType valueType)
-