Interface IMucRepository

    • Method Detail

      • createNewRoom

        Room createNewRoom​(tigase.xmpp.BareJID roomJID,
                           tigase.xmpp.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

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

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

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

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

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

        String getRoomName​(String jid)
                    throws tigase.component.exceptions.RepositoryException
        Parameters:
        jid -
        Returns:
        Throws:
        tigase.component.exceptions.RepositoryException
      • isRoomIdExists

        boolean isRoomIdExists​(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