Class ContractHierarchyDAO

java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.ContractHierarchyDAO

public class ContractHierarchyDAO extends BillingDAO
  • Constructor Details

  • Method Details

    • getSubContracts

      public List<Integer> getSubContracts(int contractId) throws BGException
      Throws:
      BGException
    • addSubcontract

      public void addSubcontract(int superContractId, int subContractId) throws BGException
      Добавляет субдоговор на родительский договор.
      Parameters:
      superContractId - id родительского договора.
      subContractId - id субдоговора.
      Throws:
      BGException
    • addSubcontract

      public void addSubcontract(int superContractId, int subContractId, int subMode) throws BGException
      Throws:
      BGException
    • contractSubcontractList

      public List<IdTitle> contractSubcontractList(int contractId) throws BGException
      Throws:
      BGException
    • contractSupercontract

      public IdTitle contractSupercontract(int contractId) throws BGException
      Throws:
      BGException