Interface HelpdeskService
@MTOM(enabled=true)
public interface HelpdeskService
-
Method Summary
Modifier and TypeMethodDescriptionvoidcategoryDelete(int categoryId) categoryGroupLinks(int groupId) categoryList(Page page) categoryMapForContract(int contractId) categorySubcategoryIdsForGroup(int contractId) voidcategoryToGroupAdd(int groupId, List<Integer> categoryIds) voidcategoryToGroupDelete(int groupId, List<Integer> categoryIds) voidcategoryUpdate(int categoryId, String title) voidcontractGroupUpdate(int contractId, int groupId) ru.bitel.bgbilling.plugins.helpdesk.common.dto.ContractModeDTOcontractModeGet(int contractId) voidcontractModeUpdate(int contractId, String currentModeId) voidfileDelete(int fileId) ru.bitel.bgbilling.common.dto.FileDtofileDownload(int fileId, int contractId) FileDownload("id")fileUpload(String topicId, String uuid, String filename, long size, jakarta.xml.ws.Holder<jakarta.activation.DataHandler> fileData) было FileUpload("id","comment","filename","filedata","size")getContractCurrentMode(int contractId) getMessageFileList(int messageId) List<ru.bitel.bgbilling.common.model.KeyValue> getParams(int contractId) voidgroupUpdate(int groupId, String title) voidmessageAdminReadSet(int messageId) voidmessageCommentUpdate(int messageId, String comment) messageGet(int contractId, int topicId, int messageId) intКоличество новых сообщений (всего)intmessageNextId(int topicId, int id) intmessagePrevId(int topicId, int id) intmessageUpdate(Message message) packageList(Boolean status, Page page) intreserveStatusGet(int topicId) Получение резервного статуса у топика.intreservStatusUpdate(int topicId, int reserveStatus) Обновление статуса резервирования у топика.searchTopicMessages(int contractId, int topicId, String[] sort, Page page) voidvoidsubcategoryDelete(int subcategoryId) subcategoryList(Page page) voidsubcategoryToCategoryAdd(int groupId, Set<Integer> categoriesIds, Set<Integer> subCategoriesIds) voidsubcategoryToCategoryDelete(int groupId, Set<Integer> categoriesIds, Set<Integer> subCategoriesIds) voidsubcategoryUpdate(int subcategoryId, String title) voidtopicAutocloseUpdate(int topicId, boolean autoclose) voidtopicBindSet(int topicId, String userId) привязка топика к какому то юзеру (или отвязка соответсвенно от всех или к текущему привязка)voidtopicCategorySubcategoryUpdate(int topicId, int categoryId, int subcategoryId) inttopicCostUpdate(int topicId, BigDecimal sum) Установка, обновление стоимости топика.int[]topicCreate(Topic topic, Message message) topicGet(int contractId, int topicId, boolean loadMessages) topicList(int contractId, int id, Boolean history, Date dateFrom, Date dateTo, String title, String message, Page page) voidtopicManagerChange(int topicId, int managerId, String comment) topicManagerChangeList(int topicId) voidtopicMarkReadByCustomer(int contractId, int id) inttopicNotificationUpdate(int topicId, int mode, String value) voidtopicPackageStateSet(int contractId, int topicId, Boolean include) topicSearch(int topicId, String title, String message, int status, String userSelect, boolean onlynew, boolean closed, Period period, Page page) voidtopicStateUpdate(int topicId, boolean state, boolean packageMode) voidtopicStatusUpdate(int topicId, int status) voidtopicUpdateState(int contractId, int id, boolean state)
-
Method Details
-
reservStatusUpdate
int reservStatusUpdate(int topicId, int reserveStatus) throws ru.bitel.bgbilling.common.BGException Обновление статуса резервирования у топика. Если устанавлиемый статус "BLOCKED", но средств на счету не достаточно, то устанавливается статус IN_WHAIT. И уже в дольнейшем будет произведена попытка заболокировать требуемую сумму.- Parameters:
topicId- - код топика.reserveStatus- - устанавливаемый статуc. смотреть значения вHelpDeskConstants;- Returns:
- - кол-во изменненых строк в БД.
- Throws:
ru.bitel.bgbilling.common.BGException
-
reserveStatusGet
int reserveStatusGet(int topicId) throws ru.bitel.bgbilling.common.BGException Получение резервного статуса у топика.- Parameters:
topicId- - ид топика.- Returns:
- - статусы из
HelpDeskConstants - Throws:
ru.bitel.bgbilling.common.BGException
-
topicCostUpdate
Установка, обновление стоимости топика. При дальнейшем переводе на сервайсы заменить обычным обновлением топикаinvalid input: '<'/>.- Parameters:
topicId- - ид топика.sum- - устанавливамя стоимость.- Returns:
- - кол-во измененных строк в БД.
- Throws:
ru.bitel.bgbilling.common.BGException
-
topicNotificationUpdate
int topicNotificationUpdate(int topicId, int mode, String value) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
fileDelete
void fileDelete(int fileId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
fileDownload
ru.bitel.bgbilling.common.dto.FileDto fileDownload(int fileId, int contractId) throws ru.bitel.bgbilling.common.BGException FileDownload("id")- Parameters:
fileId- ид файлаcid-- Returns:
- Throws:
Exceptionru.bitel.bgbilling.common.BGException
-
fileUpload
FileInfo fileUpload(String topicId, String uuid, String filename, long size, jakarta.xml.ws.Holder<jakarta.activation.DataHandler> fileData) throws ru.bitel.bgbilling.common.BGException было FileUpload("id","comment","filename","filedata","size")- Parameters:
topicId-- Throws:
Exceptionru.bitel.bgbilling.common.BGException
-
categoryMapForContract
MapHolder<IdTitle,List<IdTitle>> categoryMapForContract(int contractId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicCreate
- Throws:
ru.bitel.bgbilling.common.BGException
-
topicGet
Topic topicGet(int contractId, int topicId, boolean loadMessages) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicSearch
SearchResult<Topic> topicSearch(int topicId, String title, String message, int status, String userSelect, boolean onlynew, boolean closed, Period period, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicList
Result<Topic> topicList(int contractId, int id, Boolean history, Date dateFrom, Date dateTo, String title, String message, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicMarkReadByCustomer
void topicMarkReadByCustomer(int contractId, int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicUpdateState
void topicUpdateState(int contractId, int id, boolean state) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
messageUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
messagePrevId
int messagePrevId(int topicId, int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
messageNextId
int messageNextId(int topicId, int id) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
messageNewCount
int messageNewCount() throws ru.bitel.bgbilling.common.BGExceptionКоличество новых сообщений (всего)- Returns:
- Throws:
Exceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGException
-
topicStatusList
- Throws:
ru.bitel.bgbilling.common.BGException
-
categoryList
- Throws:
ru.bitel.bgbilling.common.BGException
-
categoryUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
categoryDelete
void categoryDelete(int categoryId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
categoryToGroupAdd
void categoryToGroupAdd(int groupId, List<Integer> categoryIds) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
categoryToGroupDelete
void categoryToGroupDelete(int groupId, List<Integer> categoryIds) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
categoryGroupList
- Throws:
ru.bitel.bgbilling.common.BGException
-
categoryGroupLinks
- Throws:
ru.bitel.bgbilling.common.BGException
-
subcategoryList
- Throws:
ru.bitel.bgbilling.common.BGException
-
subcategoryToCategoryAdd
void subcategoryToCategoryAdd(int groupId, Set<Integer> categoriesIds, Set<Integer> subCategoriesIds) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
subcategoryToCategoryDelete
void subcategoryToCategoryDelete(int groupId, Set<Integer> categoriesIds, Set<Integer> subCategoriesIds) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
categorySubcategoryIdsForGroup
List<String> categorySubcategoryIdsForGroup(int contractId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
managerList
- Throws:
ru.bitel.bgbilling.common.BGException
-
topicManagerChangeList
List<ChangeManager> topicManagerChangeList(int topicId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicManagerChange
void topicManagerChange(int topicId, int managerId, String comment) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicStatusUpdate
void topicStatusUpdate(int topicId, int status) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicStateUpdate
void topicStateUpdate(int topicId, boolean state, boolean packageMode) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicAutocloseUpdate
void topicAutocloseUpdate(int topicId, boolean autoclose) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicCategorySubcategoryUpdate
void topicCategorySubcategoryUpdate(int topicId, int categoryId, int subcategoryId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
topicBindSet
привязка топика к какому то юзеру (или отвязка соответсвенно от всех или к текущему привязка)- Throws:
ru.bitel.bgbilling.common.BGException
-
topicPackageStateSet
void topicPackageStateSet(int contractId, int topicId, Boolean include) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
messageCommentUpdate
void messageCommentUpdate(int messageId, String comment) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
messageAdminReadSet
void messageAdminReadSet(int messageId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
contractModeGet
ru.bitel.bgbilling.plugins.helpdesk.common.dto.ContractModeDTO contractModeGet(int contractId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
contractModeUpdate
void contractModeUpdate(int contractId, String currentModeId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
contractGroupUpdate
void contractGroupUpdate(int contractId, int groupId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getContractCurrentMode
- Throws:
ru.bitel.bgbilling.common.BGException
-
getModeList
List<ru.bitel.bgbilling.common.model.KeyValue> getModeList() throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getParams
- Throws:
ru.bitel.bgbilling.common.BGException
-
setParams
void setParams(int contractId, MapHolder<String, String> properties) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
groupList
SearchResult<IdTitle> groupList(boolean groupForDirectory, int contractId, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
groupUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
subcategoryUpdate
void subcategoryUpdate(int subcategoryId, String title) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
subcategoryDelete
void subcategoryDelete(int subcategoryId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
messageGet
Message messageGet(int contractId, int topicId, int messageId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
searchTopicMessages
SearchResult<Message> searchTopicMessages(int contractId, int topicId, String[] sort, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getMessageFileList
- Throws:
ru.bitel.bgbilling.common.BGException
-
packageList
SearchResult<Package> packageList(Boolean status, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-