Interface CRMService


public interface CRMService
  • Method Details

    • registerSubjectList

      List<IdTitle> registerSubjectList() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerSubjectGet

      RegisterSubject registerSubjectGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerSubjectDelete

      boolean registerSubjectDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerSubjectUpdate

      int registerSubjectUpdate(RegisterSubject registerSubject) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerSubjectGroupGet

      int registerSubjectGroupGet(int registerSubjectId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerSubjectTableList

      List<RegisterSubject> registerSubjectTableList() throws ru.bitel.bgbilling.common.BGException
      Типы звонков для таблицы справочника: вместе с группой и признаком автозакрытия.
      Returns:
      список типов звонков
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerCallItems

      SearchResult<RegisterCallItem> registerCallItems(int contractId, int subjectId, Period period, Page page) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerCallGet

      RegisterCallDTO registerCallGet(int registerCallId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerCallUpdate

      int registerCallUpdate(RegisterCall registerCall, int problemId, String problemComment, boolean sendMail) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerExecutorList

      List<RegisterExecutor> registerExecutorList(List<Integer> groupIds) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerExecutorItems

      List<IdTitle> registerExecutorItems(List<Integer> groupIds) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerExecutorUpdate

      void registerExecutorUpdate(ExecuterItem executerItem, List<Integer> groupIds) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerExecutorDelete

      void registerExecutorDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerExecutorTableList

      List<RegisterExecutor> registerExecutorTableList() throws ru.bitel.bgbilling.common.BGException
      Исполнители для таблицы справочника: вместе со списком идентификаторов групп.
      Returns:
      список исполнителей
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerExecutorGet

      RegisterExecutor registerExecutorGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerGroupList

      List<RegisterGroup> registerGroupList(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerGroupUpdate

      void registerGroupUpdate(List<Integer> typeIds, RegisterGroup registerGroup) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerGroupItems

      List<IdTitle> registerGroupItems(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerGroupGet

      RegisterGroup registerGroupGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerGroupTypeIds

      List<Integer> registerGroupTypeIds(int id) throws ru.bitel.bgbilling.common.BGException
      Идентификаторы типов задач, привязанных к группе решения.
      Parameters:
      id - - идентификатор группы
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerGroupDelete

      void registerGroupDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerCategoryItems

      List<IdTitle> registerCategoryItems() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerCategoryUpdate

      void registerCategoryUpdate(int id, String title) throws ru.bitel.bgbilling.common.BGException
      Редактирование категории проблемы. Если id <= 0 - создаётся новая категория.
      Parameters:
      id - - идентификатор категории
      title - - название категории
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerCategoryDelete

      void registerCategoryDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Удаление категории проблемы.
      Parameters:
      id - - идентификатор категории
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerStatusItems

      List<IdTitle> registerStatusItems(RegisterObjectType objectType) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerProblemGet

      RegisterProblem registerProblemGet(int id, Date time, boolean historyMode) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerProblemUsedGroups

      List<IdTitle> registerProblemUsedGroups(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerProblemCalls

      String registerProblemCalls(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerProblemTasks

      List<ru.bitel.bgbilling.common.model.KeyValue> registerProblemTasks(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerProblemHistoryList

      List<RegisterProblem> registerProblemHistoryList(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerProblemCurrentList

      List<RegisterProblem> registerProblemCurrentList(int contractId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerProblemHistoryClear

      void registerProblemHistoryClear(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerProblemUpdate

      int registerProblemUpdate(int problemId, int statusId, int categoryId, int groupId, int urgency, String comment, String resolution, List<String> executorIds, boolean sendMail) throws ru.bitel.bgbilling.common.BGException
      Создание или изменение проблемы.
      Parameters:
      problemId - - идентификатор проблемы, < 1 - создаётся новая проблема
      statusId - - идентификатор статуса
      categoryId - - идентификатор категории
      groupId - - идентификатор группы решения
      urgency - - важность
      comment - - комментарий
      resolution - - ход решения
      executorIds - - идентификаторы исполнителей
      sendMail - - отправить извещение группе на e-mail
      Returns:
      идентификатор проблемы
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskReportFormatList

      List<ru.bitel.bgbilling.common.model.KeyValue> registerTaskReportFormatList() throws ru.bitel.bgbilling.common.BGException
      Форматы отчёта по задаче из настроек плагина.
      Returns:
      список пар xslt-файл / название формата
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskTypeTitles

      List<IdTitle> registerTaskTypeTitles(Set<Integer> groupIds) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskTypeUpdate

      void registerTaskTypeUpdate(int id, String title) throws ru.bitel.bgbilling.common.BGException
      Редактирование типа задачи. Если id <= 0 - создаётся новый тип.
      Parameters:
      id - - идентификатор типа задачи
      title - - название типа задачи
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskTypeDelete

      void registerTaskTypeDelete(int id) throws ru.bitel.bgbilling.common.BGException
      Удаление типа задачи.
      Parameters:
      id - - идентификатор типа задачи
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskGet

      String registerTaskGet(int id) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskUpdate

      int registerTaskUpdate(int taskId, int contractId, int typeId, int groupId, int statusId, int addressParamId, int addressObjectId, Date targetDate, Date executeDate, List<Integer> executorIds, String comment, String resolution, int problemId, boolean sendMail) throws ru.bitel.bgbilling.common.BGException
      Создание или изменение задачи.
      Parameters:
      taskId - - идентификатор задачи, < 1 - создаётся новая задача
      contractId - - идентификатор договора
      typeId - - идентификатор типа задачи
      groupId - - идентификатор группы решения
      statusId - - идентификатор статуса
      addressParamId - - идентификатор адресного параметра договора
      addressObjectId - - идентификатор объекта договора
      targetDate - - срок выполнения
      executeDate - - дата выполнения
      executorIds - - идентификаторы исполнителей
      comment - - комментарий
      resolution - - резолюция
      problemId - - идентификатор проблемы, к которой привязана задача
      sendMail - - отправить извещение группе на e-mail
      Returns:
      идентификатор задачи
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskLogList

      List<RegisterTaskLogItem> registerTaskLogList(int id) throws ru.bitel.bgbilling.common.BGException
      История изменения статуса задачи.
      Parameters:
      id - - идентификатор задачи
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskReport

      String registerTaskReport(int id) throws ru.bitel.bgbilling.common.BGException
      Отчёт по задаче в виде html-страницы.
      Parameters:
      id - - идентификатор задачи
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskOrderPrint

      String registerTaskOrderPrint(int id) throws ru.bitel.bgbilling.common.BGException
      Наряд на выполнение задачи в виде html-страницы.
      Parameters:
      id - - идентификатор задачи
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerProblemOrderPrint

      String registerProblemOrderPrint(int id) throws ru.bitel.bgbilling.common.BGException
      Наряд по проблеме в виде html-страницы.
      Parameters:
      id - - идентификатор проблемы
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskSyncOpen

      void registerTaskSyncOpen(List<Integer> taskIds) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskSyncProcess

      void registerTaskSyncProcess(List<Integer> taskIds, String mail, String subject) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskSyncAccept

      void registerTaskSyncAccept(List<Integer> taskIds, List<Integer> executors, int group, Date targetDate) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • registerTaskSyncClose

      void registerTaskSyncClose(List<Integer> taskIds, Date date) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException