Package org.exoplatform.forum.ext.impl
Class ForumSpaceActivityPublisher
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.forum.service.ForumEventListener
org.exoplatform.forum.ext.impl.ForumSpaceActivityPublisher
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.forum.service.ForumEventLifeCycle
public class ForumSpaceActivityPublisher
extends org.exoplatform.forum.service.ForumEventListener
- Version:
- $Revision$
- Author:
- Patrice Lamarque
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ThreadLocal<Boolean>static final intstatic final intstatic final intFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPost(org.exoplatform.forum.service.Post post) voidaddTopic(org.exoplatform.forum.service.Topic topic) booleanvoidmergeTopic(org.exoplatform.forum.service.Topic newTopic, String removeActivityId1, String removeActivityId2) voidmovePost(List<org.exoplatform.forum.service.Post> posts, List<String> srcPostActivityIds, String desTopicPath) voidvoidremoveActivity(String activityId) voidremoveComment(String activityId, String commentId) voidsaveCategory(org.exoplatform.forum.service.Category category) voidsaveForum(org.exoplatform.forum.service.Forum forum) voidsetIsActivityCommentCreated(boolean commentAlreadyCreated) voidsplitTopic(org.exoplatform.forum.service.Topic newTopic, org.exoplatform.forum.service.Topic splitedTopic, String removeActivityId) voidupdatePost(org.exoplatform.forum.service.Post post) voidupdatePost(org.exoplatform.forum.service.Post post, int type) voidupdateTopic(org.exoplatform.forum.service.Topic topic) voidupdateTopics(List<org.exoplatform.forum.service.Topic> topics, boolean isLock) Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.forum.service.ForumEventLifeCycle
addPrivatePost, openTopic, updatePrivatePost
-
Field Details
-
APPROVE
public static final int APPROVE- See Also:
-
WAITING
public static final int WAITING- See Also:
-
HIDDEN
public static final int HIDDEN- See Also:
-
ACTIVITY_COMMENT_CREATED
-
-
Constructor Details
-
ForumSpaceActivityPublisher
public ForumSpaceActivityPublisher()
-
-
Method Details
-
saveCategory
public void saveCategory(org.exoplatform.forum.service.Category category) - Specified by:
saveCategoryin interfaceorg.exoplatform.forum.service.ForumEventLifeCycle- Specified by:
saveCategoryin classorg.exoplatform.forum.service.ForumEventListener
-
saveForum
public void saveForum(org.exoplatform.forum.service.Forum forum) - Specified by:
saveForumin interfaceorg.exoplatform.forum.service.ForumEventLifeCycle- Specified by:
saveForumin classorg.exoplatform.forum.service.ForumEventListener
-
setIsActivityCommentCreated
public void setIsActivityCommentCreated(boolean commentAlreadyCreated) -
isActivityCommentCreated
public boolean isActivityCommentCreated() -
addPost
public void addPost(org.exoplatform.forum.service.Post post) -
updatePost
public void updatePost(org.exoplatform.forum.service.Post post) -
updatePost
public void updatePost(org.exoplatform.forum.service.Post post, int type) -
addTopic
public void addTopic(org.exoplatform.forum.service.Topic topic) -
updateTopic
public void updateTopic(org.exoplatform.forum.service.Topic topic) -
updateTopics
-
moveTopic
-
movePost
-
mergeTopic
-
splitTopic
public void splitTopic(org.exoplatform.forum.service.Topic newTopic, org.exoplatform.forum.service.Topic splitedTopic, String removeActivityId) -
removeActivity
-
removeComment
-