Class ContractHierarchyDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.ContractHierarchyDAO
-
Field Summary
Fields inherited from class BillingDAO
dbInfo, jsonMapper, jsonTypeFactory, transferData, user -
Constructor Summary
ConstructorsConstructorDescriptionContractHierarchyDAO(User user, String billingId) ContractHierarchyDAO(User user, DBInfo dbInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubcontract(int superContractId, int subContractId) Adds a sub-contract to the super contractvoidaddSubcontract(int superContractId, int subContractId, int subMode) contractSubcontractList(int contractId) contractSupercontract(int contractId) getSubContracts(int contractId) Methods inherited from class BillingDAO
doRequest, getDbInfo, getPage, getVersion, linesToString, readJsonValue, setPage
-
Constructor Details
-
ContractHierarchyDAO
-
ContractHierarchyDAO
-
-
Method Details
-
getSubContracts
-
addSubcontract
public void addSubcontract(int superContractId, int subContractId) Adds a sub-contract to the super contract- Parameters:
superContractId- the super contract IDsubContractId- the sub-contract ID
-
addSubcontract
public void addSubcontract(int superContractId, int subContractId, int subMode) -
contractSubcontractList
-
contractSupercontract
-