com.stratelia.silverpeas.chat.control
Class ChatSessionController

java.lang.Object
  extended by com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
      extended by com.stratelia.silverpeas.chat.control.ChatSessionController
All Implemented Interfaces:
com.stratelia.silverpeas.peasCore.ComponentSessionController

public class ChatSessionController
extends com.stratelia.silverpeas.peasCore.AbstractComponentSessionController


Field Summary
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
ChatSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl, com.stratelia.silverpeas.peasCore.ComponentContext componentContext, String multilangBaseName, String iconBaseName)
           
 
Method Summary
 void createIndexChatroom(ChatRoomDetail room)
           
 void DeleteBanned(String user, int chatRoomId)
           
 void DeleteBannedAll(int chatRoomId)
           
 void DeleteChatroom(Integer ID)
           
 com.stratelia.silverpeas.notificationManager.NotificationMetaData getAlertNotificationMetaData()
           
 com.stratelia.webactiv.beans.admin.UserDetail[] getAvailableUsers()
           
 String getCurrentSilverObjectId()
           
 String[] getLastnameSelectedUsers()
           
 Vector getListChatRoom()
           
 String[] getNameSelectedUsers()
           
 String[] getSelectedUsers()
           
 int getSilverObjectId(String objectId)
           
 void index()
           
 String initUserPanel()
           
 void InsertBanned(String user, int chatRoomId)
           
 void InsertChatroom(int ID, String name, String comment)
           
 boolean isPdcUsed()
           
 boolean RetreiveBanned(String user, int chatRoomId)
           
 Vector RetreiveListBanned(int chatRoomId)
           
 void setCurrentChatRoomId(String roomId)
           
 void UpdateChatroom(Integer ID, String name, String comment)
           
 
Methods inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
addClipboardSelection, clipboardPasteDone, close, getAlertUser, getClipboardCount, getClipboardErrorMessage, getClipboardExceptionError, getClipboardName, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, getComponentParameters, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getFavoriteSpace, getGenericPanel, getHighestSilverpeasUserRole, getIcon, getLanguage, getLastResults, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getServerNameAndPort, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserAvailSpaceIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoleLevel, getUserRoles, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardError, setClipboardSelectedElement, setComponentRootName, setFavoriteSpaceToMainSessionController, setGenericPanel, setIconFileName, setLastResults, setMultilangFileName, setResourceFileName, setSpaceModeMaintenance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatSessionController

public ChatSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
                             com.stratelia.silverpeas.peasCore.ComponentContext componentContext,
                             String multilangBaseName,
                             String iconBaseName)
Method Detail

setCurrentChatRoomId

public void setCurrentChatRoomId(String roomId)

getCurrentSilverObjectId

public String getCurrentSilverObjectId()

getListChatRoom

public Vector getListChatRoom()
                       throws ChatException
Throws:
ChatException

DeleteChatroom

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

InsertChatroom

public void InsertChatroom(int ID,
                           String name,
                           String comment)
                    throws ChatException
Throws:
ChatException

UpdateChatroom

public void UpdateChatroom(Integer ID,
                           String name,
                           String comment)
                    throws ChatException
Throws:
ChatException

createIndexChatroom

public void createIndexChatroom(ChatRoomDetail room)

index

public void index()
           throws ChatException,
                  jChatBox.Chat.ChatException
Throws:
ChatException

RetreiveBanned

public boolean RetreiveBanned(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

InsertBanned

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

RetreiveListBanned

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

initUserPanel

public String initUserPanel()
                     throws RemoteException,
                            jChatBox.Chat.ChatException
Throws:
RemoteException
jChatBox.Chat.ChatException

getNameSelectedUsers

public String[] getNameSelectedUsers()

getLastnameSelectedUsers

public String[] getLastnameSelectedUsers()

getSelectedUsers

public String[] getSelectedUsers()

getAlertNotificationMetaData

public com.stratelia.silverpeas.notificationManager.NotificationMetaData getAlertNotificationMetaData()
                                                                                               throws RemoteException,
                                                                                                      jChatBox.Chat.ChatException
Throws:
RemoteException
jChatBox.Chat.ChatException

getAvailableUsers

public com.stratelia.webactiv.beans.admin.UserDetail[] getAvailableUsers()

isPdcUsed

public boolean isPdcUsed()

getSilverObjectId

public int getSilverObjectId(String objectId)


Copyright © 2016 Silverpeas. All Rights Reserved.