Package ru.bgcrm.plugin.bgbilling.dao
Class ContractDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.dao.ContractDAO
Deprecated.
-
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 TypeMethodDescriptionvoidaddTariffPlan(int contractId, int tariffId) Deprecated.voidcopyAddress(ParameterAddressValue address, int contractId, int toParamId) Deprecated.voidcopyObjectParamsToContract(Connection con, String copyParamsMapping, int objectId, int contractId, Customer customer, CommonContract commonContract) Deprecated.voidcopyObjectParamsToContract(Connection con, String copyParamsMapping, int objectId, int contractId, Customer customer, CommonContract commonContract, String objectType) Deprecated.Метод с явным указанием типа объекта с параметрами для копированияstatic voidcopyParametersToAllContracts(Connection con, User user, int customerId) Deprecated.voidcopyParametersToBilling(Connection con, int customerId, int contractId, String title) Deprecated.voidcopyParametersToBilling(Connection con, int contractId, CommonContract commonContract, Customer customer, String copyParamsMapping) Deprecated.createContract(Connection con, int patternId, String date, String title, String titlePattern) Deprecated.findContract(String title) Deprecated.getContractCardDoc(int contractId) Deprecated.getContractInfoDoc(int contractId) Deprecated.getContractParamsDoc(int contractId) Deprecated.getCurrentTariffOptionList(int contractId) Deprecated.getParamAddress(int contractId, int pid) Deprecated.getParameterListValue(int contractId, int paramId) Deprecated.getParamPhoneItemList(int contractId, int paramId) Deprecated.getVoiceIpContractInfo(int contractId) Deprecated.voidsetTariffPlan(int contractId, int tariffId) Deprecated.voidsetTariffPlan(int contractId, int tariffId, int position) Deprecated.voidupdateParamList(int contractId, int paramId, String value) Deprecated.voidupdateParamText(int contractId, int paramId, String value) Deprecated.updateVoiceIpLoginInfo(int contractId, int loginId, String alias) Deprecated.Methods inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
doRequest, getDbInfo, getDeletedContractsFromBgOnSConnectCancel, getPage, getParameterId, getWebService, getWebService, getWS, getWSClient, isSupported, linesToString, processWebServiceException, readJsonValue, setPage
-
Constructor Details
-
ContractDAO
Deprecated.- Throws:
BGException
-
ContractDAO
Deprecated.- Throws:
BGException
-
-
Method Details
-
findContract
Deprecated.- Throws:
BGException
-
copyAddress
public void copyAddress(ParameterAddressValue address, int contractId, int toParamId) throws BGException Deprecated.- Throws:
BGException
-
copyParametersToBilling
public void copyParametersToBilling(Connection con, int customerId, int contractId, String title) throws BGException Deprecated.- Throws:
BGException
-
copyParametersToBilling
public void copyParametersToBilling(Connection con, int contractId, CommonContract commonContract, Customer customer, String copyParamsMapping) throws BGException Deprecated.- Throws:
BGException
-
copyObjectParamsToContract
public void copyObjectParamsToContract(Connection con, String copyParamsMapping, int objectId, int contractId, Customer customer, CommonContract commonContract) throws BGException Deprecated.- Throws:
BGException
-
copyObjectParamsToContract
public void copyObjectParamsToContract(Connection con, String copyParamsMapping, int objectId, int contractId, Customer customer, CommonContract commonContract, String objectType) throws BGException Deprecated.Метод с явным указанием типа объекта с параметрами для копирования- Parameters:
con-copyParamsMapping-objectId-contractId-customer-commonContract-objectType-- Throws:
BGException
-
copyParametersToAllContracts
public static void copyParametersToAllContracts(Connection con, User user, int customerId) throws BGException Deprecated.- Throws:
BGException
-
updateParamText
Deprecated.- Throws:
BGException
-
updateParamList
Deprecated.- Throws:
BGException
-
setTariffPlan
Deprecated.- Throws:
BGException
-
setTariffPlan
Deprecated.- Throws:
BGException
-
addTariffPlan
Deprecated.- Throws:
BGException
-
getParamPhoneItemList
public List<ParameterPhoneValueItem> getParamPhoneItemList(int contractId, int paramId) throws BGException Deprecated.- Throws:
BGException
-
getVoiceIpContractInfo
Deprecated. -
updateVoiceIpLoginInfo
Deprecated. -
getParamAddress
Deprecated.- Throws:
BGException
-
createContract
public Contract createContract(Connection con, int patternId, String date, String title, String titlePattern) throws BGException Deprecated.- Throws:
BGException
-
getCurrentTariffOptionList
Deprecated. -
getParameterListValue
Deprecated. -
getContractInfoDoc
Deprecated. -
getContractParamsDoc
Deprecated. -
getContractCardDoc
Deprecated.
-