Interface MessagesForUsersService


public interface MessagesForUsersService
  • Method Details

    • getMessageList

      java.util.List<Message> getMessageList() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getMessageListFromLastMessageId

      java.util.List<Message> getMessageListFromLastMessageId​(int latsMessageId, java.lang.String userId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • updateMessage

      void updateMessage​(Message message) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • deleteMessage

      void deleteMessage​(int messageId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getGroupList

      java.util.List<IdTitle> getGroupList() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getLastMessageId

      int getLastMessageId() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • updateUserConfig

      void updateUserConfig​(int lastMessageId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getUsersInGroup

      java.util.Set<java.lang.Integer> getUsersInGroup​(java.util.Set<java.lang.Integer> groups) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getUserId

      java.lang.String getUserId() throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException