Package ru.bgcrm.plugin.bgbilling.dao
Class ContractDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.dao.ContractDAO
Deprecated.
Логика взаимодействия с сервером биллинга должна быть постепенно перенесена в
ContractDAO,
ContractParamDAO.
Возможно, в этом классе останется что-то связанное одновременно с CRM и
биллингом, например, копирование параметров.-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
dbInfo, jsonMapper, jsonTypeFactory, transferData, user -
Constructor Summary
ConstructorsConstructorDescriptionContractDAO(User user, String billingId) Deprecated.ContractDAO(User user, DBInfo dbInfo) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyAddress(ParameterAddressValue address, int contractId, int toParamId) Deprecated.voidcopyObjectParamsToContract(Connection con, String copyParamsMapping, int objectId, int contractId, Customer customer) Deprecated.static voidcopyParametersToAllContracts(Connection con, User user, int customerId) Deprecated.voidcopyParametersToBilling(Connection con, int customerId, int contractId, String title) Deprecated.Methods inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
doRequest, getDbInfo, getPage, getParameterId, getVersion, linesToString, readJsonValue, setPage
-
Constructor Details
-
ContractDAO
Deprecated. -
ContractDAO
Deprecated.
-
-
Method Details
-
copyAddress
Deprecated. -
copyParametersToBilling
public void copyParametersToBilling(Connection con, int customerId, int contractId, String title) throws Exception Deprecated.- Throws:
Exception
-
copyObjectParamsToContract
public void copyObjectParamsToContract(Connection con, String copyParamsMapping, int objectId, int contractId, Customer customer) throws Exception Deprecated.- Throws:
Exception
-
copyParametersToAllContracts
public static void copyParametersToAllContracts(Connection con, User user, int customerId) throws Exception Deprecated.- Throws:
Exception
-