|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.chat.ChatContentManager
public class ChatContentManager
The chat implementation of ContentInterface.
Constructor Summary | |
---|---|
ChatContentManager()
|
Method Summary | |
---|---|
int |
createSilverContent(Connection con,
ChatRoomDetail chatRoom)
add a new content. |
void |
deleteSilverContent(Connection con,
String chatRoomId,
String componentId)
delete a content. |
List |
getSilverContentById(List ids,
String peasId,
String userId,
List userRoles)
Find all the SilverContent with the given list of SilverContentId |
int |
getSilverObjectId(String chatRoomId,
String peasId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChatContentManager()
Method Detail |
---|
public List getSilverContentById(List ids, String peasId, String userId, List userRoles)
getSilverContentById
in interface com.stratelia.silverpeas.contentManager.ContentInterface
ids
- list of silverContentId to retrievepeasId
- the id of the instanceuserId
- the id of the user who wants to retrieve silverContentuserRoles
- the roles of the user
public int getSilverObjectId(String chatRoomId, String peasId) throws ChatException
ChatException
public int createSilverContent(Connection con, ChatRoomDetail chatRoom) throws com.stratelia.silverpeas.contentManager.ContentManagerException
con
- a ConnectionchatRoom
- the content to register
com.stratelia.silverpeas.contentManager.ContentManagerException
public void deleteSilverContent(Connection con, String chatRoomId, String componentId) throws com.stratelia.silverpeas.contentManager.ContentManagerException
con
- a ConnectionchatRoomId
- the identifiant of the content to unregistercomponentId
- the identifiant of the component instance where the content to unregister is
com.stratelia.silverpeas.contentManager.ContentManagerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |