Interface IMucRepository

    • Method Detail

      • getRoomAvatar

        java.lang.String getRoomAvatar​(Room room)
                                throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • updateRoomAvatar

        void updateRoomAvatar​(Room room,
                              java.lang.String encodedAvatar,
                              java.lang.String hash)
                       throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • createNewRoom

        Room createNewRoom​(tigase.xmpp.jid.BareJID roomJID,
                           tigase.xmpp.jid.JID senderJid)
                    throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • destroyRoom

        void destroyRoom​(Room room,
                         tigase.xml.Element destroyElement)
                  throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • getActiveRooms

        java.util.Map<tigase.xmpp.jid.BareJID,​Room> getActiveRooms()
      • getDefaultRoomConfig

        RoomConfig getDefaultRoomConfig()
                                 throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • getPublicVisibleRoomsIdList

        @Deprecated
        tigase.xmpp.jid.BareJID[] getPublicVisibleRoomsIdList()
                                                       throws tigase.component.exceptions.RepositoryException
        Deprecated.
        Throws:
        tigase.component.exceptions.RepositoryException
      • getPublicVisibleRooms

        java.util.Map<tigase.xmpp.jid.BareJID,​java.lang.String> getPublicVisibleRooms​(java.lang.String domain)
                                                                                     throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • getRoom

        Room getRoom​(tigase.xmpp.jid.BareJID roomJID)
              throws tigase.component.exceptions.RepositoryException,
                     MUCException
        Throws:
        tigase.component.exceptions.RepositoryException
        MUCException
      • isRoomIdExists

        boolean isRoomIdExists​(java.lang.String newRoomName)
        Parameters:
        newRoomName -
        Returns:
      • leaveRoom

        void leaveRoom​(Room room)
      • updateDefaultRoomConfig

        void updateDefaultRoomConfig​(RoomConfig config)
                              throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException