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.ForumEventListenerCreated by IntelliJ IDEA. User: ali Date: 16/01/17 Time: 16:26
-
-
Constructor Summary
Constructors Constructor Description ForumListener(org.exoplatform.container.xml.InitParams initParams, TopicDAO topicDAO, org.exoplatform.forum.service.DataStorage dataStorage, LogDAO logDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPost(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)voidmoveTopic(org.exoplatform.forum.service.Topic topic, String toCategoryName, String toForumName)voidremoveActivity(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, setName
-
-
-
-
Method Detail
-
addTopic
public void addTopic(org.exoplatform.forum.service.Topic topic)
-
updateTopic
public void updateTopic(org.exoplatform.forum.service.Topic topic)
-
updateTopics
public void updateTopics(List<org.exoplatform.forum.service.Topic> topics, boolean isLock)
-
moveTopic
public void moveTopic(org.exoplatform.forum.service.Topic topic, String toCategoryName, String toForumName)
-
movePost
public void movePost(List<org.exoplatform.forum.service.Post> posts, List<String> srcPostActivityIds, String desTopicPath)
-
mergeTopic
public void mergeTopic(org.exoplatform.forum.service.Topic newTopic, String removeActivityId1, String removeActivityId2)
-
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
public void removeActivity(String activityId)
-
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
-
-