Interface CRMService
public interface CRMService
-
Method Summary
Modifier and TypeMethodDescriptionregisterCallGet(int registerCallId) registerCallItems(int contractId, int subjectId, Period period, Page page) intregisterCallUpdate(RegisterCall registerCall, int problemId, String problemComment, boolean sendMail) voidregisterCategoryDelete(int id) Удаление категории проблемы.voidregisterCategoryUpdate(int id, String title) Редактирование категории проблемы.voidregisterExecutorDelete(int id) registerExecutorGet(int id) registerExecutorItems(List<Integer> groupIds) registerExecutorList(List<Integer> groupIds) Исполнители для таблицы справочника: вместе со списком идентификаторов групп.voidregisterExecutorUpdate(ExecuterItem executerItem, List<Integer> groupIds) voidregisterGroupDelete(int id) registerGroupGet(int id) registerGroupItems(int id) registerGroupList(int id) registerGroupTypeIds(int id) Идентификаторы типов задач, привязанных к группе решения.voidregisterGroupUpdate(List<Integer> typeIds, RegisterGroup registerGroup) registerProblemCalls(int id) registerProblemCurrentList(int contractId) registerProblemGet(int id, Date time, boolean historyMode) voidregisterProblemHistoryClear(int id) registerProblemHistoryList(int id) registerProblemOrderPrint(int id) Наряд по проблеме в виде html-страницы.List<ru.bitel.bgbilling.common.model.KeyValue> registerProblemTasks(int id) intregisterProblemUpdate(int problemId, int statusId, int categoryId, int groupId, int urgency, String comment, String resolution, List<String> executorIds, boolean sendMail) Создание или изменение проблемы.registerProblemUsedGroups(int id) registerStatusItems(RegisterObjectType objectType) booleanregisterSubjectDelete(int id) registerSubjectGet(int id) intregisterSubjectGroupGet(int registerSubjectId) Типы звонков для таблицы справочника: вместе с группой и признаком автозакрытия.intregisterSubjectUpdate(RegisterSubject registerSubject) registerTaskGet(int id) registerTaskLogList(int id) История изменения статуса задачи.registerTaskOrderPrint(int id) Наряд на выполнение задачи в виде html-страницы.registerTaskReport(int id) Отчёт по задаче в виде html-страницы.List<ru.bitel.bgbilling.common.model.KeyValue> Форматы отчёта по задаче из настроек плагина.voidvoidregisterTaskSyncClose(List<Integer> taskIds, Date date) voidregisterTaskSyncOpen(List<Integer> taskIds) voidregisterTaskSyncProcess(List<Integer> taskIds, String mail, String subject) voidregisterTaskTypeDelete(int id) Удаление типа задачи.registerTaskTypeTitles(Set<Integer> groupIds) voidregisterTaskTypeUpdate(int id, String title) Редактирование типа задачи.intregisterTaskUpdate(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) Создание или изменение задачи.
-
Method Details
-
registerSubjectList
- Throws:
ru.bitel.bgbilling.common.BGException
-
registerSubjectGet
- 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
Типы звонков для таблицы справочника: вместе с группой и признаком автозакрытия.- 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
- 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
Исполнители для таблицы справочника: вместе со списком идентификаторов групп.- Returns:
- список исполнителей
- Throws:
ru.bitel.bgbilling.common.BGException
-
registerExecutorGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
registerGroupList
- 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
- Throws:
ru.bitel.bgbilling.common.BGException
-
registerGroupGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
registerGroupTypeIds
Идентификаторы типов задач, привязанных к группе решения.- 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
- Throws:
ru.bitel.bgbilling.common.BGException
-
registerCategoryUpdate
Редактирование категории проблемы. Если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
- Throws:
ru.bitel.bgbilling.common.BGException
-
registerProblemCalls
- 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
Редактирование типа задачи. Если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
- 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
История изменения статуса задачи.- Parameters:
id- - идентификатор задачи- Throws:
ru.bitel.bgbilling.common.BGException
-
registerTaskReport
Отчёт по задаче в виде html-страницы.- Parameters:
id- - идентификатор задачи- Throws:
ru.bitel.bgbilling.common.BGException
-
registerTaskOrderPrint
Наряд на выполнение задачи в виде html-страницы.- Parameters:
id- - идентификатор задачи- Throws:
ru.bitel.bgbilling.common.BGException
-
registerProblemOrderPrint
Наряд по проблеме в виде html-страницы.- Parameters:
id- - идентификатор проблемы- Throws:
ru.bitel.bgbilling.common.BGException
-
registerTaskSyncOpen
- 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
-