Class 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

      Constructors 
      Constructor Description
      ForumListener​(org.exoplatform.container.xml.InitParams initParams, TopicDAO topicDAO, org.exoplatform.forum.service.DataStorage dataStorage, LogDAO logDAO)  
    • Constructor Detail

      • ForumListener

        public ForumListener​(org.exoplatform.container.xml.InitParams initParams,
                             TopicDAO topicDAO,
                             org.exoplatform.forum.service.DataStorage dataStorage,
                             LogDAO logDAO)
    • 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)
      • removeComment

        public void removeComment​(String activityId,
                                  String commentId)
      • saveCategory

        public void saveCategory​(org.exoplatform.forum.service.Category category)
        Specified by:
        saveCategory in interface org.exoplatform.forum.service.ForumEventLifeCycle
        Specified by:
        saveCategory in class org.exoplatform.forum.service.ForumEventListener
      • saveForum

        public void saveForum​(org.exoplatform.forum.service.Forum forum)
        Specified by:
        saveForum in interface org.exoplatform.forum.service.ForumEventLifeCycle
        Specified by:
        saveForum in class org.exoplatform.forum.service.ForumEventListener