Interface IMService
public interface IMService
-
Method Summary
Modifier and TypeMethodDescriptiongetHistory(String jidfrom, IMConstants.GETHISTORYMODE getHistoryMode, Long datefrom, Long dateto, Page page) rosterAddContact(String jid, String name, String group) rosterMoveContact(String jid, String groupName) voidrosterRemoveGroup(String name) rosterRenameContact(String jid, String newName) voidrosterRenameGroup(String name, String newName) sendMessage(String userto, String text) voidsetStatus(IMConstants.STATUS status)
-
Method Details
-
checkStatus
- Throws:
ru.bitel.bgbilling.common.BGException
-
getHistory
Result<IMMessage> getHistory(String jidfrom, IMConstants.GETHISTORYMODE getHistoryMode, Long datefrom, Long dateto, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getRoster
- Throws:
ru.bitel.bgbilling.common.BGException
-
rosterAddContact
ProcessCheckStatus rosterAddContact(String jid, String name, String group) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
rosterMoveContact
ProcessCheckStatus rosterMoveContact(String jid, String groupName) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
rosterRemoveContact
- Throws:
ru.bitel.bgbilling.common.BGException
-
rosterRemoveGroup
- Throws:
ru.bitel.bgbilling.common.BGException
-
rosterRenameContact
ProcessCheckStatus rosterRenameContact(String jid, String newName) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
rosterRenameGroup
- Throws:
ru.bitel.bgbilling.common.BGException
-
sendMessage
ProcessCheckStatus sendMessage(String userto, String text) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
setStatus
- Throws:
ru.bitel.bgbilling.common.BGException
-