Interface IMucRepository

All Known Implementing Classes:
InMemoryMucRepository

public interface IMucRepository
Author:
bmalkow
  • Field Details

  • Method Details

    • getRoomAvatar

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

      void updateRoomAvatar(Room room, String encodedAvatar, 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

      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

      Map<tigase.xmpp.jid.BareJID,String> getPublicVisibleRooms(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(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