Class ContractDAO8x
java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.ContractDAO
ru.bgcrm.plugin.bgbilling.proto.dao.version.v8x.ContractDAO8x
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bgcrm.plugin.bgbilling.proto.dao.ContractDAO
ContractDAO.SearchOptions, ContractDAO.WebContractLogonLogEntry, ContractDAO.WebContractLogonLogError, ContractDAO.WebContractLogonLogSuccess, ContractDAO.WebContractLogonLogType, ContractDAO.WebLimit, ContractDAO.WebRequestLastLogon, ContractDAO.WebRequestLimit
-
Field Summary
Fields inherited from class ru.bgcrm.plugin.bgbilling.proto.dao.ContractDAO
KERNEL_CONTRACT_API, KERNEL_CONTRACT_LIMIT
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
ConstructorDescriptionContractDAO8x
(User user, String billingId) ContractDAO8x
(User user, DBInfo dbInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bgbillingUpdateContractTitleAndComment
(int contractId, String comment, int patid) void
deleteLimitTask
(int contractId, int id) void
deleteMemo
(int contractId, int memoId) getContractCardTypes
(int contractId) getContractInfo
(int contractId) getMemo
(int contractId, int memoId) getMemoList
(int contractId) Возвращает большиство актуальных данных о договоре.getParameterList
(int parameterTypeId) void
searchContractByTitleComment
(Pageable<IdTitle> searchResult, String title, String comment, ContractDAO.SearchOptions searchOptions) void
updateMemo
(int contractId, int memoId, String memoTitle, String memoText) void
updateMemo
(int contractId, int memoId, String memoTitle, String memoText, boolean visible) Methods inherited from class ru.bgcrm.plugin.bgbilling.proto.dao.ContractDAO
additionalActionList, addSearchResult, addSubcontract, bgbillingGetContractPatternList, bgbillingOpenContract, copyObjectParamsToContract, copyParametersToAllContracts, copyParametersToBilling, createContract, createContract, executeAdditionalAction, faceLog, getAdditionalActionList, getContractAddress, getContractById, getContractCard2Pdf, getContractCardDoc, getContractFullCard, getContractLabelTreeItemList, getContractLimitManage, getContractStatisticPassword, getInstance, getInstance, getList, getList, getStreetsByCity, getSubContracts, getWebContractLogonLog, groupsGet, limit, modeLog, moduleList, openContract, searchContractByAddressParam, searchContractByDateParam, searchContractByEmailParam, searchContractByObjectAddressParam, searchContractByPhoneParam, searchContractByTextParam, updateContractDateTo, updateContractLimitManage, updateContractPassword, updateFace, updateGroup, updateLimit, updateMode, updateModule
Methods inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO
doRequest, getDbInfo, getPage, getParameterId, getVersion, linesToString, readJsonValue, setPage
-
Field Details
-
CONTRACT_NOTE_SERVICE
- See Also:
-
-
Constructor Details
-
ContractDAO8x
-
ContractDAO8x
-
-
Method Details
-
getContractInfo
- Overrides:
getContractInfo
in classContractDAO
-
bgbillingUpdateContractTitleAndComment
- Overrides:
bgbillingUpdateContractTitleAndComment
in classContractDAO
-
deleteLimitTask
public void deleteLimitTask(int contractId, int id) - Overrides:
deleteLimitTask
in classContractDAO
-
getMemoList
Description copied from class:ContractDAO
Возвращает большиство актуальных данных о договоре.- Overrides:
getMemoList
in classContractDAO
- Parameters:
contractId
-- Returns:
-
getMemo
- Overrides:
getMemo
in classContractDAO
-
updateMemo
- Overrides:
updateMemo
in classContractDAO
-
updateMemo
public void updateMemo(int contractId, int memoId, String memoTitle, String memoText, boolean visible) - Overrides:
updateMemo
in classContractDAO
-
deleteMemo
public void deleteMemo(int contractId, int memoId) - Overrides:
deleteMemo
in classContractDAO
-
getParameterList
- Overrides:
getParameterList
in classContractDAO
-
searchContractByTitleComment
public void searchContractByTitleComment(Pageable<IdTitle> searchResult, String title, String comment, ContractDAO.SearchOptions searchOptions) - Overrides:
searchContractByTitleComment
in classContractDAO
-
getContractCardTypes
- Overrides:
getContractCardTypes
in classContractDAO
-