com.stratelia.silverpeas.chat
Class ChatDataAccess

java.lang.Object
  extended by com.stratelia.silverpeas.chat.ChatDataAccess

public class ChatDataAccess
extends Object


Constructor Summary
ChatDataAccess(String component)
           
 
Method Summary
 void CloseConnexion(Connection con, boolean bThrowException)
           
 Connection CreateConnexion()
           
 void DeleteBanned(String user, int chatRoomId)
           
 void DeleteBannedAll(int chatRoomId)
           
 void DeleteChatInstance()
           
 void DeleteChatroom(Integer chatRoomId)
           
 int getSilverObjectId(String chatRoomId)
           
 void InsertBanned(String user, int chatRoomId)
           
 void InsertChatroom(ChatRoomDetail chatRoom)
           
 boolean RetreiveBanned(String user, int chatRoomId)
           
 Vector RetreiveChatroom()
           
 Vector RetreiveListBanned(int chatRoomId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatDataAccess

public ChatDataAccess(String component)
Method Detail

CreateConnexion

public Connection CreateConnexion()
                           throws ChatException
Throws:
ChatException

CloseConnexion

public void CloseConnexion(Connection con,
                           boolean bThrowException)
                    throws ChatException
Throws:
ChatException

RetreiveChatroom

public Vector RetreiveChatroom()
                        throws ChatException
Throws:
ChatException

InsertChatroom

public void InsertChatroom(ChatRoomDetail chatRoom)
                    throws ChatException
Throws:
ChatException

DeleteChatroom

public void DeleteChatroom(Integer chatRoomId)
                    throws ChatException
Throws:
ChatException

DeleteChatInstance

public void DeleteChatInstance()
                        throws ChatException
Throws:
ChatException

InsertBanned

public void InsertBanned(String user,
                         int chatRoomId)
                  throws ChatException
Throws:
ChatException

DeleteBanned

public void DeleteBanned(String user,
                         int chatRoomId)
                  throws ChatException
Throws:
ChatException

DeleteBannedAll

public void DeleteBannedAll(int chatRoomId)
                     throws ChatException
Throws:
ChatException

RetreiveBanned

public boolean RetreiveBanned(String user,
                              int chatRoomId)
                       throws ChatException
Throws:
ChatException

RetreiveListBanned

public Vector RetreiveListBanned(int chatRoomId)
                          throws ChatException
Throws:
ChatException

getSilverObjectId

public int getSilverObjectId(String chatRoomId)
                      throws ChatException
Throws:
ChatException


Copyright © 2016 Silverpeas. All Rights Reserved.