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 TypeFieldDescriptionstatic final String
protected static final String
protected static final String
protected DBInfo
protected com.fasterxml.jackson.databind.ObjectMapper
protected com.fasterxml.jackson.databind.type.TypeFactory
protected static final String
protected static final String
protected TransferData
protected User
protected static final String
-
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
-
TITLE
- See Also:
-
VALUE
- See Also:
-
DATE_1
- See Also:
-
DATE_2
- See Also:
-
PARAMETERS
- See Also:
-
COMMENT
- See Also:
-
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)
-