|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.silverpeas.communicationUser.control.CommunicationUserSessionController
public class CommunicationUserSessionController
Field Summary |
---|
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
---|
CHARACTER_ENCODING, context |
Constructor Summary | |
---|---|
CommunicationUserSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
Constructor declaration |
Method Summary | |
---|---|
void |
addCurrentDiscussion(File discussion)
|
void |
addMessageDiscussion(File fileDiscussion,
String message)
|
void |
clearDiscussion(File fileDiscussion)
|
File |
createDiscussion(String userId)
|
String |
getDiscussion(File fileDiscussion)
|
Collection<SessionInfo> |
getDistinctConnectedUsersList()
Get connected users |
File |
getExistingFileDiscussion(String userId)
|
Collection<File> |
getListCurrentDiscussion()
|
int |
getNbConnectedUsersList()
Get nb of connected users |
UserDetail |
getTargetUserDetail(String userId)
Get UserDetail |
void |
notifySession(String userId,
String message)
Send message to user |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommunicationUserSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
mainSessionCtrl
- componentContext
-
Method Detail |
---|
public int getNbConnectedUsersList()
public Collection<SessionInfo> getDistinctConnectedUsersList()
public UserDetail getTargetUserDetail(String userId)
userId
-
public void notifySession(String userId, String message)
userId
- message
- public void addCurrentDiscussion(File discussion)
discussion
- public Collection<File> getListCurrentDiscussion()
public File getExistingFileDiscussion(String userId) throws CommunicationUserException
CommunicationUserException
public File createDiscussion(String userId) throws CommunicationUserException
CommunicationUserException
public String getDiscussion(File fileDiscussion) throws CommunicationUserException
CommunicationUserException
public void addMessageDiscussion(File fileDiscussion, String message) throws CommunicationUserException
CommunicationUserException
public void clearDiscussion(File fileDiscussion) throws CommunicationUserException
CommunicationUserException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |