|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.forums.ForumsContentManager
public class ForumsContentManager
The forums implementation of ContentInterface.
| Constructor Summary | |
|---|---|
ForumsContentManager()
|
|
| Method Summary | |
|---|---|
int |
createSilverContent(Connection con,
ForumPK forumPK,
String userId)
add a new content. |
void |
deleteSilverContent(Connection con,
ForumPK forumPK)
delete a content. |
List<com.stratelia.silverpeas.contentManager.SilverContentInterface> |
getSilverContentById(List<Integer> alSilverContentId,
String sComponentId,
String sUserId,
List<String> alContentUserRoles)
|
int |
getSilverObjectId(String pubId,
String peasId)
Method declaration |
void |
updateSilverContentVisibility(ForumPK forumPK,
String userId)
update the visibility attributes of the content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ForumsContentManager()
| Method Detail |
|---|
public List<com.stratelia.silverpeas.contentManager.SilverContentInterface> getSilverContentById(List<Integer> alSilverContentId,
String sComponentId,
String sUserId,
List<String> alContentUserRoles)
getSilverContentById in interface com.stratelia.silverpeas.contentManager.ContentInterface
public int getSilverObjectId(String pubId,
String peasId)
pubId - peasId -
public int createSilverContent(Connection con,
ForumPK forumPK,
String userId)
throws com.stratelia.silverpeas.contentManager.ContentManagerException
con - a ConnectionforumDetail - the content to registeruserId - the creator of the content
com.stratelia.silverpeas.contentManager.ContentManagerException
public void updateSilverContentVisibility(ForumPK forumPK,
String userId)
throws com.stratelia.silverpeas.contentManager.ContentManagerException
forumDetail - the contentsilverObjectId - the unique identifier of the content
com.stratelia.silverpeas.contentManager.ContentManagerException
public void deleteSilverContent(Connection con,
ForumPK forumPK)
throws com.stratelia.silverpeas.contentManager.ContentManagerException
con - a ConnectionforumPK - the identifiant of the content to unregister
com.stratelia.silverpeas.contentManager.ContentManagerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||