tigase.muc.repository
Interface IMucRepository

All Known Implementing Classes:
InMemoryMucRepository

public interface IMucRepository

Author:
bmalkow

Method Summary
 Room createNewRoom(java.lang.String roomId, java.lang.String senderJid)
           
 RoomConfig getDefaultRoomConfig()
           
 java.lang.String[] getPublicVisibleRoomsIdList()
           
 Room getRoom(java.lang.String roomId)
           
 java.lang.String getRoomName(java.lang.String jid)
           
 boolean isRoomIdExists(java.lang.String newRoomName)
           
 void leaveRoom(Room room)
           
 

Method Detail

createNewRoom

Room createNewRoom(java.lang.String roomId,
                   java.lang.String senderJid)
                   throws RepositoryException
Throws:
RepositoryException

getDefaultRoomConfig

RoomConfig getDefaultRoomConfig()
                                throws RepositoryException
Throws:
RepositoryException

getPublicVisibleRoomsIdList

java.lang.String[] getPublicVisibleRoomsIdList()
                                               throws RepositoryException
Throws:
RepositoryException

getRoom

Room getRoom(java.lang.String roomId)
             throws RepositoryException
Throws:
RepositoryException

getRoomName

java.lang.String getRoomName(java.lang.String jid)
                             throws RepositoryException
Parameters:
jid -
Returns:
Throws:
RepositoryException

isRoomIdExists

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

leaveRoom

void leaveRoom(Room room)


Copyright © 2007-2008 Tigase. All Rights Reserved.