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