public class ForumSpaceActivityPublisher
extends org.exoplatform.forum.service.ForumEventListener
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<Boolean> |
ACTIVITY_COMMENT_CREATED |
static int |
APPROVE |
static int |
HIDDEN |
static int |
WAITING |
| Constructor and Description |
|---|
ForumSpaceActivityPublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPost(org.exoplatform.forum.service.Post post) |
void |
addTopic(org.exoplatform.forum.service.Topic topic) |
boolean |
isActivityCommentCreated() |
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 |
setIsActivityCommentCreated(boolean commentAlreadyCreated) |
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) |
void |
updateTopics(List<org.exoplatform.forum.service.Topic> topics,
boolean isLock) |
getDescription, getName, setDescription, setNamepublic static final int APPROVE
public static final int WAITING
public static final int HIDDEN
public static final ThreadLocal<Boolean> ACTIVITY_COMMENT_CREATED
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.ForumEventListenerpublic void setIsActivityCommentCreated(boolean commentAlreadyCreated)
public boolean isActivityCommentCreated()
public void addPost(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 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 removeActivity(String activityId)
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.