Interface TariffService


public interface TariffService
  • Method Details

    • searchTariffPlans

      SearchResult<TariffPlan> searchTariffPlans(TariffPlanSearchParameters searchParameters, String[] sort, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffPlanGet

      TariffPlan tariffPlanGet(int id) throws ru.bitel.bgbilling.common.BGException
      Получение тарифного плана по его ID.
      Parameters:
      id -
      Returns:
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffPlanDelete

      void tariffPlanDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Удаление тарифного плана по его ID.
      Parameters:
      id -
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffPlanUpdate

      int tariffPlanUpdate(TariffPlan tariffPlan) throws ru.bitel.bgbilling.common.BGException
      Изменение/добавление тарифного плана.
      Parameters:
      tariffPlan -
      Returns:
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffPlanList

      List<TariffPlan> tariffPlanList(List<Integer> contractLabelIds, Integer personType, String title) throws ru.bitel.bgbilling.common.BGException
      Получение списка тарифных планов.
      Parameters:
      contractLabelIds - фильтр по группе договоров
      title - подстрока названия тарифа
      face - фильтр по юр. или физю лицам
      Returns:
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffPlanTitles

      List<IdTitle> tariffPlanTitles() throws ru.bitel.bgbilling.common.BGException
      Список всех тарифов
      Returns:
    • tariffGroupGet

      TariffGroup tariffGroupGet(int id) throws ru.bitel.bgbilling.common.BGException
      Получение группы тарифов по его ID.
      Parameters:
      id -
      Returns:
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffGroupDelete

      void tariffGroupDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Удаление группы тарифов по его ID.
      Parameters:
      id -
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffGroupUpdate

      int tariffGroupUpdate(TariffGroup tariffGroup) throws ru.bitel.bgbilling.common.BGException
      Изменение/добавление группы тарифов.
      Parameters:
      tariffGroup -
      Returns:
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffGroupList

      List<TariffGroup> tariffGroupList() throws ru.bitel.bgbilling.common.BGException
      Получение списка групп тарифных планов.
      Returns:
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffVars

      List<TariffVar> tariffVars(TariffVarType tariffVarType, List<Integer> tariffPlanIds) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffVarGet

      TariffVar tariffVarGet(int tariffVarId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffVarUpdate

      int tariffVarUpdate(TariffVar tariffVar) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffVarDelete

      int tariffVarDelete(int tariffVarId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffVarListItems

      List<IdTitle> tariffVarListItems(int moduleId, String varTypeCode) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffVarValues

      SearchResult<TariffVarValue> tariffVarValues(int tariffVarId, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffVarValueSet

      void tariffVarValueSet(TariffVarValue tariffVarValue) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffVarValueDelete

      int tariffVarValueDelete(TariffVarValue tariffVarValue) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getTariffLabelTreeItemList

      List<TariffLabelItem> getTariffLabelTreeItemList(int tariffPlanId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • setTariffLabelTreeItemList

      void setTariffLabelTreeItemList(int tariffPlanId, List<TariffLabelItem> items) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • updateTariffLabelTreeItem

      int updateTariffLabelTreeItem(TariffLabelItem tariffLabelItem) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getTariffLabelIds

      Set<Integer> getTariffLabelIds(int tariffPlanId) throws Exception
      Throws:
      Exception
    • removeTariffLabelTreeItem

      void removeTariffLabelTreeItem(int tariffLabelItemId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getTariffListByLabelId

      List<TariffPlan> getTariffListByLabelId(int labelId) throws ru.bitel.bgbilling.common.BGException
      Parameters:
      labelId - ID метки тарифа
      Returns:
      список тарифов на которых есть переданная метка
      Throws:
      ru.bitel.bgbilling.common.BGException
    • tariffModulesList

      List<IdTitle> tariffModulesList() throws ru.bitel.bgbilling.common.BGException
      Список модулей для которых может быть определено тарифное дерево
      Returns:
      Throws:
      ru.bitel.bgbilling.common.BGException