Class GamificationForumListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.forum.service.ForumEventListener
org.exoplatform.forum.integration.gamification.GamificationForumListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.forum.service.ForumEventLifeCycle
public class GamificationForumListener
extends org.exoplatform.forum.service.ForumEventListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.exoplatform.social.core.manager.ActivityManagerprotected org.exoplatform.forum.service.ForumServiceprotected org.exoplatform.social.core.manager.IdentityManagerprotected org.exoplatform.services.listener.ListenerServiceprotected org.exoplatform.social.core.space.spi.SpaceServiceFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionGamificationForumListener(org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.forum.service.ForumService forumService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPost(org.exoplatform.forum.service.Post post) voidaddTopic(org.exoplatform.forum.service.Topic topic) voidmergeTopic(org.exoplatform.forum.service.Topic newTopic, String removeActivityId1, String removeActivityId2) voidvoidvoidvoidremoveActivity(String activityId) voidremoveComment(String activityId, String commentId) voidsaveCategory(org.exoplatform.forum.service.Category category) voidsaveForum(org.exoplatform.forum.service.Forum forum) voidsplitTopic(org.exoplatform.forum.service.Topic newTopic, org.exoplatform.forum.service.Topic splitedTopic, String removeActivityId) voidupdatePost(org.exoplatform.forum.service.Post post) voidupdatePost(org.exoplatform.forum.service.Post post, int type) voidupdateTopic(org.exoplatform.forum.service.Topic topic) voidupdateTopics(List<org.exoplatform.forum.service.Topic> topics, boolean isLock) Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.forum.service.ForumEventLifeCycle
addPrivatePost, updatePrivatePost
-
Field Details
-
identityManager
protected org.exoplatform.social.core.manager.IdentityManager identityManager -
spaceService
protected org.exoplatform.social.core.space.spi.SpaceService spaceService -
listenerService
protected org.exoplatform.services.listener.ListenerService listenerService -
activityManager
protected org.exoplatform.social.core.manager.ActivityManager activityManager -
forumService
protected org.exoplatform.forum.service.ForumService forumService
-
-
Constructor Details
-
GamificationForumListener
public GamificationForumListener(org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.social.core.manager.ActivityManager activityManager, org.exoplatform.forum.service.ForumService forumService)
-
-
Method Details
-
saveCategory
public void saveCategory(org.exoplatform.forum.service.Category category) - Specified by:
saveCategoryin interfaceorg.exoplatform.forum.service.ForumEventLifeCycle- Specified by:
saveCategoryin classorg.exoplatform.forum.service.ForumEventListener
-
saveForum
public void saveForum(org.exoplatform.forum.service.Forum forum) - Specified by:
saveForumin interfaceorg.exoplatform.forum.service.ForumEventLifeCycle- Specified by:
saveForumin classorg.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) -
updateTopics
-
moveTopic
-
mergeTopic
-
splitTopic
public void splitTopic(org.exoplatform.forum.service.Topic newTopic, org.exoplatform.forum.service.Topic splitedTopic, String removeActivityId) -
removeActivity
-
removeComment
-
movePost
-
openTopic
-