Class ContractServiceDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.ContractServiceDAO
-
Field Summary
Fields inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
COMMENT, DATE_1, DATE_2, dbInfo, jsonMapper, jsonTypeFactory, PARAMETERS, TITLE, transferData, user, VALUE
-
Constructor Summary
ConstructorDescriptionContractServiceDAO
(User user, String billingId) ContractServiceDAO
(User user, DBInfo dbInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteContractService
(int contractId, int id) getContractService
(int contractId, int moduleId, int id, boolean onlyUsing) getContractServiceList
(int contractId, int moduleId) void
updateContractService
(ContractService service) Methods inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
doRequest, getDbInfo, getPage, getParameterId, getVersion, linesToString, readJsonValue, setPage
-
Constructor Details
-
ContractServiceDAO
- Throws:
BGException
-
ContractServiceDAO
- Throws:
BGException
-
-
Method Details
-
getContractServiceList
public List<ContractService> getContractServiceList(int contractId, int moduleId) throws BGException - Throws:
BGException
-
getContractService
public Pair<ContractService,List<IdTitle>> getContractService(int contractId, int moduleId, int id, boolean onlyUsing) throws BGException - Throws:
BGException
-
updateContractService
- Throws:
BGException
-
deleteContractService
- Throws:
BGException
-