Interface HelpdeskService
@MTOM(enabled=true)
public interface HelpdeskService
- 
Method Summary
Modifier and TypeMethodDescriptioncategoryMapForContract(int contractId) categorySubcategoryIdsForGroup(int contractId) 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) getGroupList(boolean groupForDirectory, int contractId, Page page) getMessageFileList(int messageId) List<ru.bitel.bgbilling.common.model.KeyValue>getParams(int contractId) voidmessageAdminReadSet(int messageId) voidmessageCommentUpdate(int messageId, String comment) messageGet(int contractId, int topicId, int messageId) intКоличество новых сообщений (всего)intmessageUpdate(Message message) intreserveStatusGet(int topicId) Получение резервного статуса у топика.intreservStatusUpdate(int topicId, int reserveStatus) Обновление статуса резервирования у топика.searchTopicMessages(int contractId, int topicId, String[] sort, Page page) voidvoidtopicAutocloseUpdate(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) voidupdateCategory(IdTitle idTitle) voidupdateGroup(IdTitle idTitle) voidupdateSubCategory(IdTitle idTitle)  
- 
Method Details
- 
reservStatusUpdate
int reservStatusUpdate(int topicId, int reserveStatus) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Обновление статуса резервирования у топика. Если устанавлиемый статус "BLOCKED", но средств на счету не достаточно, то устанавливается статус IN_WHAIT. И уже в дольнейшем будет произведена попытка заболокировать требуемую сумму.- Parameters:
 topicId- - код топика.reserveStatus- - устанавливаемый статуc. смотреть значения вHelpDeskConstants;- Returns:
 - - кол-во изменненых строк в БД.
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
reserveStatusGet
int reserveStatusGet(int topicId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Получение резервного статуса у топика.- Parameters:
 topicId- - ид топика.- Returns:
 - - статусы из 
HelpDeskConstants - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicCostUpdate
int topicCostUpdate(int topicId, BigDecimal sum) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Установка, обновление стоимости топика. При дальнейшем переводе на сервайсы заменить обычным обновлением топика</>.- Parameters:
 topicId- - ид топика.sum- - устанавливамя стоимость.- Returns:
 - - кол-во измененных строк в БД.
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicNotificationUpdate
int topicNotificationUpdate(int topicId, int mode, String value) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
fileDelete
void fileDelete(int fileId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
fileDownload
ru.bitel.bgbilling.common.dto.FileDto fileDownload(int fileId, int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException FileDownload("id")- Parameters:
 fileId- ид файлаcid-- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
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, ru.bitel.bgbilling.common.BGMessageException было FileUpload("id","comment","filename","filedata","size")- Parameters:
 topicId-- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
categoryMapForContract
MapHolder<IdTitle,List<IdTitle>> categoryMapForContract(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicCreate
int[] topicCreate(Topic topic, Message message) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicGet
Topic topicGet(int contractId, int topicId, boolean loadMessages) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.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 ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.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 ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicMarkReadByCustomer
void topicMarkReadByCustomer(int contractId, int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicUpdateState
void topicUpdateState(int contractId, int id, boolean state) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
messageUpdate
int messageUpdate(Message message) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
messageNewCount
int messageNewCount() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageExceptionКоличество новых сообщений (всего)- Returns:
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicStatusList
List<IdTitle> topicStatusList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
categoryList
List<IdTitle> categoryList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
subcategoryList
List<IdTitle> subcategoryList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
categorySubcategoryIdsForGroup
List<String> categorySubcategoryIdsForGroup(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
managerList
List<IdTitle> managerList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicManagerChangeList
List<ChangeManager> topicManagerChangeList(int topicId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicManagerChange
void topicManagerChange(int topicId, int managerId, String comment) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicStatusUpdate
void topicStatusUpdate(int topicId, int status) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicStateUpdate
void topicStateUpdate(int topicId, boolean state, boolean packageMode) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicAutocloseUpdate
void topicAutocloseUpdate(int topicId, boolean autoclose) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicCategorySubcategoryUpdate
void topicCategorySubcategoryUpdate(int topicId, int categoryId, int subcategoryId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicBindSet
void topicBindSet(int topicId, String userId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException привязка топика к какому то юзеру (или отвязка соответсвенно от всех или к текущему привязка)- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
topicPackageStateSet
void topicPackageStateSet(int contractId, int topicId, Boolean include) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
messageCommentUpdate
void messageCommentUpdate(int messageId, String comment) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
messageAdminReadSet
void messageAdminReadSet(int messageId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractModeGet
ru.bitel.bgbilling.plugins.helpdesk.common.dto.ContractModeDTO contractModeGet(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
contractModeUpdate
void contractModeUpdate(int contractId, String currentModeId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getContractCurrentMode
String getContractCurrentMode(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getModeList
List<ru.bitel.bgbilling.common.model.KeyValue> getModeList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getParams
MapHolder<String,String> getParams(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
setParams
void setParams(int contractId, MapHolder<String, String> properties) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getGroupList
SearchResult<IdTitle> getGroupList(boolean groupForDirectory, int contractId, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
 ru.bitel.bgbilling.common.BGException
 - 
updateGroup
- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
updateCategory
- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
updateSubCategory
- Throws:
 ru.bitel.bgbilling.common.BGException
 - 
messageGet
Message messageGet(int contractId, int topicId, int messageId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
searchTopicMessages
SearchResult<Message> searchTopicMessages(int contractId, int topicId, String[] sort, Page page) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getMessageFileList
List<FileInfo> getMessageFileList(int messageId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 
 -