Interface ContractLimitService
public interface ContractLimitService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelLimitChangeTask
(int contractId, List<Integer> taskIds) boolean
checkContractLimitUpdate
(int contractId, jakarta.xml.ws.Holder<Integer> amount) contractLimitGet
(int contractId) void
contractLimitMove
(int contractId, BigDecimal amount, int days) contractLimitMovementList
(int contractId, Date dateFrom, Date dateTo) contractLimitParametersGet
(int contractId) getCurrentContractLimit
(int contractId) searchContractLimitAvtoList
(int contractId, String status, String[] sort, Page page) searchContractLimitLog
(int contractId, Page page, Period period, String[] sort) searchContractLimitLogList
(int contractId, Period period, String[] sort, Page page) searchContractLimitManage
(int contractId, Page page, String[] sort) void
setContractLimitMode
(int contractId, int mode) void
updateContractLimit
(int contractId, BigDecimal limit, String comment) void
updateContractLimitPeriod
(int contractId, BigDecimal limit, int period, String comment) void
updateContractLimitPeriodGroupOperation
(String contractIds, BigDecimal limit, int period) Данный метод используется в груповых оперциях для временного изменения лимита группе договоров.
-
Method Details
-
searchContractLimitLogList
SearchResult<ContractLimitLog> searchContractLimitLogList(int contractId, Period period, String[] sort, Page page) throws Exception - Throws:
Exception
-
searchContractLimitAvtoList
SearchResult<ContractLimitAvto> searchContractLimitAvtoList(int contractId, String status, String[] sort, Page page) throws Exception - Throws:
Exception
-
updateContractLimitPeriod
void updateContractLimitPeriod(int contractId, BigDecimal limit, int period, String comment) throws Exception - Throws:
Exception
-
updateContractLimitPeriodGroupOperation
void updateContractLimitPeriodGroupOperation(String contractIds, BigDecimal limit, int period) throws Exception Данный метод используется в груповых оперциях для временного изменения лимита группе договоров.- Parameters:
contractIds
- коды договоров через запятую. Пример: 1,2,3,4limit
- сумма, на которую необходимо изменить лимит. Пример: -1000period
- период, на который необходимо изменить лимит (в днях). Пример: 6- Throws:
BGException
BGMessageException
Exception
-
contractLimitGet
- Throws:
Exception
-
contractLimitMove
- Throws:
Exception
-
contractLimitMovementList
List<ContractLimitMovement> contractLimitMovementList(int contractId, Date dateFrom, Date dateTo) throws Exception - Throws:
Exception
-
contractLimitParametersGet
- Throws:
Exception
-
cancelLimitChangeTask
- Throws:
Exception
-
updateContractLimit
- Throws:
Exception
-
checkContractLimitUpdate
boolean checkContractLimitUpdate(int contractId, jakarta.xml.ws.Holder<Integer> amount) throws Exception - Throws:
Exception
-
getCurrentContractLimit
- Throws:
Exception
-
searchContractLimitLog
SearchResult<ContractSubPanelLog> searchContractLimitLog(int contractId, Page page, Period period, String[] sort) throws Exception - Throws:
Exception
-
searchContractLimitManage
SearchResult<ContractSubPanelManage> searchContractLimitManage(int contractId, Page page, String[] sort) throws Exception - Throws:
Exception
-
setContractLimitMode
- Throws:
Exception
-