Package tigase.muc.repository
Interface IMucRepository
-
- All Known Implementing Classes:
InMemoryMucRepository
public interface IMucRepository- Author:
- bmalkow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RoomcreateNewRoom(tigase.xmpp.BareJID roomJID, tigase.xmpp.JID senderJid)voiddestroyRoom(Room room, tigase.xml.Element destroyElement)Map<tigase.xmpp.BareJID,Room>getActiveRooms()RoomConfiggetDefaultRoomConfig()Map<tigase.xmpp.BareJID,String>getPublicVisibleRooms(String domain)tigase.xmpp.BareJID[]getPublicVisibleRoomsIdList()Deprecated.RoomgetRoom(tigase.xmpp.BareJID roomJID)StringgetRoomName(String jid)booleanisRoomIdExists(String newRoomName)voidleaveRoom(Room room)voidupdateDefaultRoomConfig(RoomConfig config)
-
-
-
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
-
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.RepositoryExceptionMUCException
-
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
-
-