Package tigase.muc.repository
Interface IMucRepository
-
- All Known Implementing Classes:
InMemoryMucRepository
public interface IMucRepository
- Author:
- bmalkow
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Room
createNewRoom(tigase.xmpp.jid.BareJID roomJID, tigase.xmpp.jid.JID senderJid)
void
destroyRoom(Room room, tigase.xml.Element destroyElement)
java.util.Map<tigase.xmpp.jid.BareJID,Room>
getActiveRooms()
RoomConfig
getDefaultRoomConfig()
java.util.Map<tigase.xmpp.jid.BareJID,java.lang.String>
getPublicVisibleRooms(java.lang.String domain)
tigase.xmpp.jid.BareJID[]
getPublicVisibleRoomsIdList()
Deprecated.Room
getRoom(tigase.xmpp.jid.BareJID roomJID)
java.lang.String
getRoomAvatar(Room room)
boolean
isRoomIdExists(java.lang.String newRoomName)
void
leaveRoom(Room room)
void
updateDefaultRoomConfig(RoomConfig config)
void
updateRoomAvatar(Room room, java.lang.String encodedAvatar, java.lang.String hash)
-
-
-
Field Detail
-
ID
static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
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
-
-