Interface TariffService
public interface TariffService
-
Method Summary
Modifier and TypeMethodDescriptiongetTariffLabelIds(int tariffPlanId) getTariffLabelTreeItemList(int tariffPlanId) getTariffListByLabelId(int labelId) voidremoveTariffLabelTreeItem(int tariffLabelItemId) voidsetTariffLabelTreeItemList(int tariffPlanId, List<TariffLabelItem> items) voidtariffGroupDelete(int id) Удаление группы тарифов по его ID.tariffGroupGet(int id) Получение группы тарифов по его ID.Получение списка групп тарифных планов.inttariffGroupUpdate(TariffGroup tariffGroup) Изменение/добавление группы тарифов.voidtariffPlanDelete(int id) Удаление тарифного плана по его ID.tariffPlanGet(int id) Получение тарифного плана по его ID.tariffPlanList(List<Integer> contractLabelIds, Integer personType, String title) Получение списка тарифных планов.Список всех тарифовinttariffPlanUpdate(TariffPlan tariffPlan) Изменение/добавление тарифного плана.inttariffVarDelete(int tariffVarId) tariffVarGet(int tariffVarId) tariffVarListItems(int moduleId, String varTypeCode) tariffVars(TariffVarType tariffVarType, List<Integer> tariffPlanIds) inttariffVarUpdate(TariffVar tariffVar) inttariffVarValueDelete(TariffVarValue tariffVarValue) tariffVarValues(int tariffVarId, Page page) voidtariffVarValueSet(TariffVarValue tariffVarValue) intupdateTariffLabelTreeItem(TariffLabelItem tariffLabelItem)
-
Method Details
-
searchTariffPlans
SearchResult<TariffPlan> searchTariffPlans(List<Integer> labelIds, List<Integer> moduleIds, int showUsed, Page page) throws Exception - Throws:
Exception
-
tariffPlanGet
Получение тарифного плана по его ID.- Parameters:
id-- Returns:
- Throws:
BGExceptionException
-
tariffPlanDelete
Удаление тарифного плана по его ID.- Parameters:
id-- Throws:
BGExceptionException
-
tariffPlanUpdate
Изменение/добавление тарифного плана.- Parameters:
tariffPlan-- Returns:
- Throws:
BGExceptionException
-
tariffPlanList
List<TariffPlan> tariffPlanList(List<Integer> contractLabelIds, Integer personType, String title) throws Exception Получение списка тарифных планов.- Parameters:
contractLabelIds- фильтр по группе договоровface- фильтр по юр. или физю лицамtitle- подстрока названия тарифа- Returns:
- Throws:
BGExceptionException
-
tariffPlanTitles
Список всех тарифов- Returns:
- Throws:
BGExceptionBGMessageExceptionException
-
tariffGroupGet
Получение группы тарифов по его ID.- Parameters:
id-- Returns:
- Throws:
BGExceptionException
-
tariffGroupDelete
Удаление группы тарифов по его ID.- Parameters:
id-- Throws:
BGExceptionException
-
tariffGroupUpdate
Изменение/добавление группы тарифов.- Parameters:
tariffGroup-- Returns:
- Throws:
BGExceptionException
-
tariffGroupList
Получение списка групп тарифных планов.- Returns:
- Throws:
BGExceptionException
-
tariffVars
List<TariffVar> tariffVars(TariffVarType tariffVarType, List<Integer> tariffPlanIds) throws Exception - Throws:
Exception
-
tariffVarGet
- Throws:
Exception
-
tariffVarUpdate
- Throws:
Exception
-
tariffVarDelete
- Throws:
Exception
-
tariffVarListItems
- Throws:
Exception
-
tariffVarValues
- Throws:
Exception
-
tariffVarValueSet
- Throws:
Exception
-
tariffVarValueDelete
- Throws:
Exception
-
getTariffLabelTreeItemList
- Throws:
Exception
-
setTariffLabelTreeItemList
- Throws:
Exception
-
updateTariffLabelTreeItem
- Throws:
Exception
-
getTariffLabelIds
- Throws:
Exception
-
removeTariffLabelTreeItem
- Throws:
Exception
-
getTariffListByLabelId
- Parameters:
labelId- ID метки тарифа- Returns:
- список тарифов на которых есть переданная метка
- Throws:
Exception
-