Class DispatchDAO
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.DispatchDAO
-
Field Summary
Fields inherited from class BillingDAO
dbInfo, jsonMapper, jsonTypeFactory, transferData, user -
Constructor Summary
ConstructorsConstructorDescriptionDispatchDAO(User user, String billingId) DispatchDAO(User user, DBInfo dbInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubscriptions(Set<Integer> contractIds, Set<Integer> dispatchIds) Adds subscriptions to contracts if matching contacts are found on themgetContactList(int contractId) Returns the contract's contactsvoidupdateContact(Contact contact) Updates or adds the contract's contactMethods inherited from class BillingDAO
doRequest, getDbInfo, getPage, getVersion, linesToString, readJsonValue, setPage
-
Constructor Details
-
DispatchDAO
-
DispatchDAO
-
-
Method Details
-
updateContact
Updates or adds the contract's contact- Parameters:
contact- the contact
-
getContactList
-
addSubscriptions
-