Package org.exoplatform.cs.listener
Class ForumListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.forum.service.ForumEventListener
org.exoplatform.cs.listener.ForumListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.forum.service.ForumEventLifeCycle
public class ForumListener
extends org.exoplatform.forum.service.ForumEventListener
Created by IntelliJ IDEA.
User: ali
Date: 16/01/17
Time: 16:26
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionForumListener(org.exoplatform.container.xml.InitParams initParams, TopicDAO topicDAO, org.exoplatform.forum.service.DataStorage dataStorage, LogDAO logDAO) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPost(org.exoplatform.forum.service.Post post) voidaddPrivatePost(org.exoplatform.forum.service.Post post) voidaddTopic(org.exoplatform.forum.service.Topic topic) voidmergeTopic(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) 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) voidupdatePrivatePost(org.exoplatform.forum.service.Post post) 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
openTopic
-
Constructor Details
-
ForumListener
-
-
Method Details
-
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) -
addPost
public void addPost(org.exoplatform.forum.service.Post post) -
addPrivatePost
public void addPrivatePost(org.exoplatform.forum.service.Post post) -
updatePrivatePost
public void updatePrivatePost(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) -
removeActivity
-
removeComment
-
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
-