public class ForumListener
extends org.exoplatform.forum.service.ForumEventListener
| Constructor and Description |
|---|
ForumListener(org.exoplatform.container.xml.InitParams initParams,
TopicDAO topicDAO,
org.exoplatform.forum.service.DataStorage dataStorage,
LogDAO logDAO) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPost(org.exoplatform.forum.service.Post post) |
void |
addPrivatePost(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 |
movePost(List<org.exoplatform.forum.service.Post> posts,
List<String> srcPostActivityIds,
String desTopicPath) |
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 |
updatePrivatePost(org.exoplatform.forum.service.Post post) |
void |
updateTopic(org.exoplatform.forum.service.Topic topic) |
void |
updateTopics(List<org.exoplatform.forum.service.Topic> topics,
boolean isLock) |
getDescription, getName, setDescription, setNamepublic void addTopic(org.exoplatform.forum.service.Topic topic)
public void updateTopic(org.exoplatform.forum.service.Topic topic)
public void updateTopics(List<org.exoplatform.forum.service.Topic> topics, boolean isLock)
public void moveTopic(org.exoplatform.forum.service.Topic topic,
String toCategoryName,
String toForumName)
public void movePost(List<org.exoplatform.forum.service.Post> posts, List<String> srcPostActivityIds, String desTopicPath)
public void mergeTopic(org.exoplatform.forum.service.Topic newTopic,
String removeActivityId1,
String removeActivityId2)
public void splitTopic(org.exoplatform.forum.service.Topic newTopic,
org.exoplatform.forum.service.Topic splitedTopic,
String removeActivityId)
public void addPost(org.exoplatform.forum.service.Post post)
public void addPrivatePost(org.exoplatform.forum.service.Post post)
public void updatePrivatePost(org.exoplatform.forum.service.Post post)
public void updatePost(org.exoplatform.forum.service.Post post)
public void updatePost(org.exoplatform.forum.service.Post post,
int type)
public void removeActivity(String activityId)
public void saveCategory(org.exoplatform.forum.service.Category category)
saveCategory in interface org.exoplatform.forum.service.ForumEventLifeCyclesaveCategory in class org.exoplatform.forum.service.ForumEventListenerpublic void saveForum(org.exoplatform.forum.service.Forum forum)
saveForum in interface org.exoplatform.forum.service.ForumEventLifeCyclesaveForum in class org.exoplatform.forum.service.ForumEventListenerCopyright © 2003–2019 eXo Platform SAS. All rights reserved.