@Deprecated public class ContractDAO extends BillingDAO
| Modifier and Type | Class and Description |
|---|---|
static class |
ContractDAO.TaskStatus
Deprecated.
|
dbInfo, jsonMapper, jsonTypeFactory, transferData, user| Constructor and Description |
|---|
ContractDAO(User user,
DBInfo dbInfo)
Deprecated.
|
ContractDAO(User user,
java.lang.String billingId)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTariffPlan(int contractId,
int tariffId)
Deprecated.
|
void |
copyAddress(ParameterAddressValue address,
int contractId,
int toParamId)
Deprecated.
|
void |
copyObjectParamsToContract(java.sql.Connection con,
java.lang.String copyParamsMapping,
int objectId,
int contractId,
Customer customer,
CommonContract commonContract)
Deprecated.
|
void |
copyObjectParamsToContract(java.sql.Connection con,
java.lang.String copyParamsMapping,
int objectId,
int contractId,
Customer customer,
CommonContract commonContract,
java.lang.String objectType)
Deprecated.
Метод с явным указанием типа объекта с параметрами для копирования
|
static void |
copyParametersToAllContracts(java.sql.Connection con,
User user,
int customerId)
Deprecated.
|
void |
copyParametersToBilling(java.sql.Connection con,
int contractId,
CommonContract commonContract,
Customer customer,
java.lang.String copyParamsMapping)
Deprecated.
|
void |
copyParametersToBilling(java.sql.Connection con,
int customerId,
int contractId,
java.lang.String title)
Deprecated.
|
Contract |
createContract(java.sql.Connection con,
int patternId,
java.lang.String date,
java.lang.String title,
java.lang.String titlePattern)
Deprecated.
|
Contract |
findContract(java.lang.String title)
Deprecated.
|
org.w3c.dom.Document |
getContractCardDoc(int contractId)
Deprecated.
|
org.w3c.dom.Document |
getContractInfoDoc(int contractId)
Deprecated.
|
org.w3c.dom.Document |
getContractParamsDoc(int contractId)
Deprecated.
|
java.util.List<IdTitle> |
getCurrentTariffOptionList(int contractId)
Deprecated.
|
ParameterAddressValue |
getParamAddress(int contractId,
int pid)
Deprecated.
|
IdTitle |
getParameterListValue(int contractId,
int paramId)
Deprecated.
|
java.util.List<ParameterPhoneValueItem> |
getParamPhoneItemList(int contractId,
int paramId)
Deprecated.
|
org.w3c.dom.Document |
getVoiceIpContractInfo(int contractId)
Deprecated.
|
void |
setTariffPlan(int contractId,
int tariffId)
Deprecated.
|
void |
setTariffPlan(int contractId,
int tariffId,
int position)
Deprecated.
|
void |
updateParamList(int contractId,
int paramId,
java.lang.String value)
Deprecated.
|
void |
updateParamText(int contractId,
int paramId,
java.lang.String value)
Deprecated.
|
org.w3c.dom.Document |
updateVoiceIpLoginInfo(int contractId,
int loginId,
java.lang.String alias)
Deprecated.
|
doRequest, getDbInfo, getDeletedContractsFromBgOnSConnectCancel, getPage, getParameterId, getWebService, getWebService, getWS, getWSClient, isSupported, linesToString, processWebServiceException, readJsonValue, setPagepublic ContractDAO(User user, java.lang.String billingId) throws BGException
BGExceptionpublic ContractDAO(User user, DBInfo dbInfo) throws BGException
BGExceptionpublic Contract findContract(java.lang.String title) throws BGException
BGExceptionpublic void copyAddress(ParameterAddressValue address, int contractId, int toParamId) throws BGException
BGExceptionpublic void copyParametersToBilling(java.sql.Connection con,
int customerId,
int contractId,
java.lang.String title)
throws BGException
BGExceptionpublic void copyParametersToBilling(java.sql.Connection con,
int contractId,
CommonContract commonContract,
Customer customer,
java.lang.String copyParamsMapping)
throws BGException
BGExceptionpublic void copyObjectParamsToContract(java.sql.Connection con,
java.lang.String copyParamsMapping,
int objectId,
int contractId,
Customer customer,
CommonContract commonContract)
throws BGException
BGExceptionpublic void copyObjectParamsToContract(java.sql.Connection con,
java.lang.String copyParamsMapping,
int objectId,
int contractId,
Customer customer,
CommonContract commonContract,
java.lang.String objectType)
throws BGException
con - copyParamsMapping - objectId - contractId - customer - commonContract - objectType - BGExceptionpublic static void copyParametersToAllContracts(java.sql.Connection con,
User user,
int customerId)
throws BGException
BGExceptionpublic void updateParamText(int contractId,
int paramId,
java.lang.String value)
throws BGException
BGExceptionpublic void updateParamList(int contractId,
int paramId,
java.lang.String value)
throws BGException
BGExceptionpublic void setTariffPlan(int contractId,
int tariffId)
throws BGException
BGExceptionpublic void setTariffPlan(int contractId,
int tariffId,
int position)
throws BGException
BGExceptionpublic void addTariffPlan(int contractId,
int tariffId)
throws BGException
BGExceptionpublic java.util.List<ParameterPhoneValueItem> getParamPhoneItemList(int contractId, int paramId) throws BGException
BGExceptionpublic org.w3c.dom.Document getVoiceIpContractInfo(int contractId)
public org.w3c.dom.Document updateVoiceIpLoginInfo(int contractId,
int loginId,
java.lang.String alias)
public ParameterAddressValue getParamAddress(int contractId, int pid) throws BGException
BGExceptionpublic Contract createContract(java.sql.Connection con, int patternId, java.lang.String date, java.lang.String title, java.lang.String titlePattern) throws BGException
BGExceptionpublic java.util.List<IdTitle> getCurrentTariffOptionList(int contractId)
public IdTitle getParameterListValue(int contractId, int paramId)
public org.w3c.dom.Document getContractInfoDoc(int contractId)
public org.w3c.dom.Document getContractParamsDoc(int contractId)
public org.w3c.dom.Document getContractCardDoc(int contractId)