fr.paris.lutece.plugins.chat.business
Class RoomList

java.lang.Object
  extended by fr.paris.lutece.plugins.chat.business.RoomList

public class RoomList
extends java.lang.Object

This class provides methods for the management of the rooms list


Constructor Summary
RoomList()
           
 
Method Summary
 void addRoom(ChatRoom room)
          Add a room in the list
 ChatRoom getRoom(java.lang.String strName)
          Returns the chat room of the list whose name is the one specified in parameter
 java.util.Enumeration getRooms()
          Returns the list of the Rooms
 void removeRooms(java.lang.String[] rooms)
          Remove rooms in the list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoomList

public RoomList()
Method Detail

addRoom

public void addRoom(ChatRoom room)
Add a room in the list

Parameters:
room - The chat room to add

getRoom

public ChatRoom getRoom(java.lang.String strName)
Returns the chat room of the list whose name is the one specified in parameter

Parameters:
strName - The name of the room to get in the list
Returns:
The ChatRoom object

getRooms

public java.util.Enumeration getRooms()
Returns the list of the Rooms

Returns:
The list of the rooms

removeRooms

public void removeRooms(java.lang.String[] rooms)
Remove rooms in the list

Parameters:
rooms - An array of rooms to remove in the list


Copyright © 2010 Mairie de Paris. All Rights Reserved.