org.exoplatform.forum.ext.impl
Class ForumSpaceActivityPublisher

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.forum.service.ForumEventListener
          extended by 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
static int APPROVE
           
static int HIDDEN
           
static int WAITING
           
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
ForumSpaceActivityPublisher()
           
 
Method Summary
 void addPost(org.exoplatform.forum.service.Post post)
           
 void addTopic(org.exoplatform.forum.service.Topic topic)
           
 void mergeTopic(org.exoplatform.forum.service.Topic newTopic, String removeActivityId1, String removeActivityId2)
           
 void moveTopic(org.exoplatform.forum.service.Topic topic, String toCategoryName, String toForumName)
           
 void removeActivity(String activityId)
           
 void removeComment(String activityId, String commentId)
           
 void saveCategory(org.exoplatform.forum.service.Category category)
           
 void saveForum(org.exoplatform.forum.service.Forum forum)
           
 void splitTopic(org.exoplatform.forum.service.Topic newTopic, org.exoplatform.forum.service.Topic splitedTopic, String removeActivityId)
           
 void updatePost(org.exoplatform.forum.service.Post post)
           
 void updatePost(org.exoplatform.forum.service.Post post, int type)
           
 void updateTopic(org.exoplatform.forum.service.Topic topic)
           
 
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPROVE

public static final int APPROVE
See Also:
Constant Field Values

WAITING

public static final int WAITING
See Also:
Constant Field Values

HIDDEN

public static final int HIDDEN
See Also:
Constant Field Values
Constructor Detail

ForumSpaceActivityPublisher

public ForumSpaceActivityPublisher()
Method Detail

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

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)

moveTopic

public void moveTopic(org.exoplatform.forum.service.Topic topic,
                      String toCategoryName,
                      String toForumName)

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)

removeActivity

public void removeActivity(String activityId)

removeComment

public void removeComment(String activityId,
                          String commentId)


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.