Class ContractDAO

java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.dao.ContractDAO

@Deprecated public class ContractDAO extends BillingDAO
Deprecated.
  • Constructor Details

  • Method Details

    • findContract

      public Contract findContract(String title) throws BGException
      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

      public void updateParamText(int contractId, int paramId, String value) throws BGException
      Deprecated.
      Throws:
      BGException
    • updateParamList

      public void updateParamList(int contractId, int paramId, String value) throws BGException
      Deprecated.
      Throws:
      BGException
    • setTariffPlan

      public void setTariffPlan(int contractId, int tariffId) throws BGException
      Deprecated.
      Throws:
      BGException
    • setTariffPlan

      public void setTariffPlan(int contractId, int tariffId, int position) throws BGException
      Deprecated.
      Throws:
      BGException
    • addTariffPlan

      public void addTariffPlan(int contractId, int tariffId) throws BGException
      Deprecated.
      Throws:
      BGException
    • getParamPhoneItemList

      public List<ParameterPhoneValueItem> getParamPhoneItemList(int contractId, int paramId) throws BGException
      Deprecated.
      Throws:
      BGException
    • getVoiceIpContractInfo

      public Document getVoiceIpContractInfo(int contractId)
      Deprecated.
    • updateVoiceIpLoginInfo

      public Document updateVoiceIpLoginInfo(int contractId, int loginId, String alias)
      Deprecated.
    • getParamAddress

      public ParameterAddressValue getParamAddress(int contractId, int pid) throws BGException
      Deprecated.
      Throws:
      BGException
    • createContract

      public Contract createContract(Connection con, int patternId, String date, String title, String titlePattern) throws BGException
      Deprecated.
      Throws:
      BGException
    • getCurrentTariffOptionList

      public List<IdTitle> getCurrentTariffOptionList(int contractId)
      Deprecated.
    • getParameterListValue

      public IdTitle getParameterListValue(int contractId, int paramId)
      Deprecated.
    • getContractInfoDoc

      public Document getContractInfoDoc(int contractId)
      Deprecated.
    • getContractParamsDoc

      public Document getContractParamsDoc(int contractId)
      Deprecated.
    • getContractCardDoc

      public Document getContractCardDoc(int contractId)
      Deprecated.