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 Exception, ru.bitel.bgbilling.common.BGMessageException Обновление статуса резервирования у топика. Если устанавлиемый статус "BLOCKED", но средств на счету не достаточно, то устанавливается статус IN_WHAIT. И уже в дольнейшем будет произведена попытка заболокировать требуемую сумму.- Parameters:
 topicId- - код топика.reserveStatus- - устанавливаемый статуc. смотреть значения вHelpDeskConstants;- Returns:
 - - кол-во изменненых строк в БД.
 - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
reserveStatusGet
Получение резервного статуса у топика.- Parameters:
 topicId- - ид топика.- Returns:
 - - статусы из 
HelpDeskConstants - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicCostUpdate
int topicCostUpdate(int topicId, BigDecimal sum) throws Exception, ru.bitel.bgbilling.common.BGMessageException Установка, обновление стоимости топика. При дальнейшем переводе на сервайсы заменить обычным обновлением топика</>.- Parameters:
 topicId- - ид топика.sum- - устанавливамя стоимость.- Returns:
 - - кол-во измененных строк в БД.
 - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicNotificationUpdate
int topicNotificationUpdate(int topicId, int mode, String value) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
fileDelete
- Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
fileDownload
ru.bitel.bgbilling.common.dto.FileDto fileDownload(int fileId, int contractId) throws Exception, ru.bitel.bgbilling.common.BGMessageException FileDownload("id")- Parameters:
 fileId- ид файлаcid-- Returns:
 - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
fileUpload
FileInfo fileUpload(String topicId, String uuid, String filename, long size, jakarta.xml.ws.Holder<jakarta.activation.DataHandler> fileData) throws Exception, ru.bitel.bgbilling.common.BGMessageException было FileUpload("id","comment","filename","filedata","size")- Parameters:
 topicId-- Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
categoryMapForContract
MapHolder<IdTitle,List<IdTitle>> categoryMapForContract(int contractId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicCreate
int[] topicCreate(Topic topic, Message message) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicGet
Topic topicGet(int contractId, int topicId, boolean loadMessages) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicSearch
SearchResult<Topic> topicSearch(int topicId, String title, String message, int status, String userSelect, boolean onlynew, boolean closed, Period period, Page page) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicList
Result<Topic> topicList(int contractId, int id, Boolean history, Date dateFrom, Date dateTo, String title, String message, Page page) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicMarkReadByCustomer
- Throws:
 Exception
 - 
topicUpdateState
- Throws:
 Exception
 - 
messageUpdate
- Throws:
 Exception
 - 
messagePrevId
- Throws:
 Exception
 - 
messageNextId
- Throws:
 Exception
 - 
messageNewCount
Количество новых сообщений (всего)- Returns:
 - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicStatusList
- Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
categoryList
- Throws:
 Exception
 - 
categoryUpdate
void categoryUpdate(int categoryId, String title) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
categoryDelete
- Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
categoryToGroupAdd
void categoryToGroupAdd(int groupId, List<Integer> categoryIds) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
categoryToGroupDelete
void categoryToGroupDelete(int groupId, List<Integer> categoryIds) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
categoryGroupList
- Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
categoryGroupLinks
HelpDeskLinks categoryGroupLinks(int groupId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
subcategoryList
- Throws:
 Exception
 - 
subcategoryToCategoryAdd
void subcategoryToCategoryAdd(int groupId, Set<Integer> categoriesIds, Set<Integer> subCategoriesIds) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
subcategoryToCategoryDelete
void subcategoryToCategoryDelete(int groupId, Set<Integer> categoriesIds, Set<Integer> subCategoriesIds) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
categorySubcategoryIdsForGroup
List<String> categorySubcategoryIdsForGroup(int contractId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
managerList
- Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicManagerChangeList
List<ChangeManager> topicManagerChangeList(int topicId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicManagerChange
void topicManagerChange(int topicId, int managerId, String comment) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicStatusUpdate
void topicStatusUpdate(int topicId, int status) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicStateUpdate
void topicStateUpdate(int topicId, boolean state, boolean packageMode) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicAutocloseUpdate
void topicAutocloseUpdate(int topicId, boolean autoclose) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicCategorySubcategoryUpdate
void topicCategorySubcategoryUpdate(int topicId, int categoryId, int subcategoryId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicBindSet
void topicBindSet(int topicId, String userId) throws Exception, ru.bitel.bgbilling.common.BGMessageException привязка топика к какому то юзеру (или отвязка соответсвенно от всех или к текущему привязка)- Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicPackageStateSet
void topicPackageStateSet(int contractId, int topicId, Boolean include) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
messageCommentUpdate
void messageCommentUpdate(int messageId, String comment) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
messageAdminReadSet
void messageAdminReadSet(int messageId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractModeGet
ru.bitel.bgbilling.plugins.helpdesk.common.dto.ContractModeDTO contractModeGet(int contractId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractModeUpdate
- Throws:
 Exception
 - 
contractGroupUpdate
- Throws:
 Exception
 - 
getContractCurrentMode
String getContractCurrentMode(int contractId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
getModeList
List<ru.bitel.bgbilling.common.model.KeyValue> getModeList() throws Exception, ru.bitel.bgbilling.common.BGMessageException- Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
getParams
MapHolder<String,String> getParams(int contractId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
setParams
void setParams(int contractId, MapHolder<String, String> properties) throws Exception, ru.bitel.bgbilling.common.BGMessageException- Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
groupList
SearchResult<IdTitle> groupList(boolean groupForDirectory, int contractId, Page page) throws Exception - Throws:
 Exception
 - 
groupUpdate
void groupUpdate(int groupId, String title) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
subcategoryUpdate
void subcategoryUpdate(int subcategoryId, String title) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
subcategoryDelete
void subcategoryDelete(int subcategoryId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
messageGet
Message messageGet(int contractId, int topicId, int messageId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
searchTopicMessages
SearchResult<Message> searchTopicMessages(int contractId, int topicId, String[] sort, Page page) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
getMessageFileList
List<FileInfo> getMessageFileList(int messageId) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 - 
packageList
SearchResult<Package> packageList(Boolean status, Page page) throws Exception, ru.bitel.bgbilling.common.BGMessageException - Throws:
 Exceptionru.bitel.bgbilling.common.BGMessageException
 
 -