@Deprecated public class ContractDAO extends BillingDAO
Modifier and Type | Class and Description |
---|---|
static class |
ContractDAO.TaskStatus
Deprecated.
|
dbInfo, 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.
|
static void |
copyParametersToAllContracts(java.sql.Connection con,
User user,
int customerId)
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, getPage, getParameterId, setPage
public ContractDAO(User user, java.lang.String billingId) throws BGException
BGException
public ContractDAO(User user, DBInfo dbInfo) throws BGException
BGException
public Contract findContract(java.lang.String title) throws BGException
BGException
public void copyAddress(ParameterAddressValue address, int contractId, int toParamId) throws BGException
BGException
public void copyParametersToBilling(java.sql.Connection con, int customerId, int contractId, java.lang.String title) throws BGException
BGException
public void copyObjectParamsToContract(java.sql.Connection con, java.lang.String copyParamsMapping, int objectId, int contractId, Customer customer, CommonContract commonContract) throws BGException
BGException
public static void copyParametersToAllContracts(java.sql.Connection con, User user, int customerId) throws BGException
BGException
public void updateParamText(int contractId, int paramId, java.lang.String value) throws BGException
BGException
public void updateParamList(int contractId, int paramId, java.lang.String value) throws BGException
BGException
public void setTariffPlan(int contractId, int tariffId) throws BGException
BGException
public void setTariffPlan(int contractId, int tariffId, int position) throws BGException
BGException
public void addTariffPlan(int contractId, int tariffId) throws BGException
BGException
public java.util.List<ParameterPhoneValueItem> getParamPhoneItemList(int contractId, int paramId) throws BGException
BGException
public 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
BGException
public Contract createContract(java.sql.Connection con, int patternId, java.lang.String date, java.lang.String title, java.lang.String titlePattern) throws BGException
BGException
public 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)