public class GamificationForumListener
extends org.exoplatform.forum.service.ForumEventListener
| Modifier and Type | Field and Description |
|---|---|
protected org.exoplatform.social.core.manager.ActivityManager |
activityManager |
protected org.exoplatform.forum.service.ForumService |
forumService |
protected GamificationProcessor |
gamificationProcessor |
protected GamificationService |
gamificationService |
protected org.exoplatform.social.core.manager.IdentityManager |
identityManager |
protected RuleService |
ruleService |
protected org.exoplatform.social.core.space.spi.SpaceService |
spaceService |
| Constructor and Description |
|---|
GamificationForumListener(RuleService ruleService,
GamificationProcessor gamificationProcessor,
org.exoplatform.social.core.manager.IdentityManager identityManager,
org.exoplatform.social.core.space.spi.SpaceService spaceService,
GamificationService gamificationService,
org.exoplatform.social.core.manager.ActivityManager activityManager,
org.exoplatform.forum.service.ForumService forumService) |
| Modifier and Type | Method and Description |
|---|---|
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 |
movePost(List<org.exoplatform.forum.service.Post> list,
List<String> list1,
String s) |
void |
moveTopic(org.exoplatform.forum.service.Topic topic,
String toCategoryName,
String toForumName) |
void |
openTopic(String userId,
String topicId) |
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) |
void |
updateTopics(List<org.exoplatform.forum.service.Topic> topics,
boolean isLock) |
getDescription, getName, setDescription, setNameprotected RuleService ruleService
protected GamificationProcessor gamificationProcessor
protected org.exoplatform.social.core.manager.IdentityManager identityManager
protected org.exoplatform.social.core.space.spi.SpaceService spaceService
protected GamificationService gamificationService
protected org.exoplatform.social.core.manager.ActivityManager activityManager
protected org.exoplatform.forum.service.ForumService forumService
public GamificationForumListener(RuleService ruleService, GamificationProcessor gamificationProcessor, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, GamificationService gamificationService, org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.forum.service.ForumService forumService)
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 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 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)
public void movePost(List<org.exoplatform.forum.service.Post> list, List<String> list1, String s)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.