org.embedchat.database.nodb
Class ChatRoomDAO

java.lang.Object
  extended by org.embedchat.database.nodb.ChatRoomDAO
All Implemented Interfaces:
ChatRoomDAOInterface

public class ChatRoomDAO
extends java.lang.Object
implements ChatRoomDAOInterface


Field Summary
static ChatRoom room1
           
static ChatRoom room2
           
 
Constructor Summary
ChatRoomDAO()
           
 
Method Summary
 java.util.List<ChatRoom> findAll()
          Return all chat rooms from this server If zero rooms found - return 0
 ChatRoom findChatRoom(java.lang.Long chatRoomId)
          Return chat room by chat room id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

room1

public static ChatRoom room1

room2

public static ChatRoom room2
Constructor Detail

ChatRoomDAO

public ChatRoomDAO()
Method Detail

findChatRoom

public ChatRoom findChatRoom(java.lang.Long chatRoomId)
                      throws ItemNotFoundException
Description copied from interface: ChatRoomDAOInterface
Return chat room by chat room id

Specified by:
findChatRoom in interface ChatRoomDAOInterface
Returns:
Throws:
ItemNotFoundException

findAll

public java.util.List<ChatRoom> findAll()
Description copied from interface: ChatRoomDAOInterface
Return all chat rooms from this server If zero rooms found - return 0

Specified by:
findAll in interface ChatRoomDAOInterface
Returns:


Copyright 2006-2006 embedchat.org. All Rights Reserved.