public class GamificationWikiListener extends org.exoplatform.wiki.service.listener.PageWikiListener implements GamificationListener
| Modifier and Type | Field and Description |
|---|---|
protected GamificationProcessor |
gamificationProcessor |
protected GamificationService |
gamificationService |
protected org.exoplatform.social.core.manager.IdentityManager |
identityManager |
protected RuleService |
ruleService |
GAMIFICATION_FORUM_ADD_POST, GAMIFICATION_FORUM_ADD_TOPIC, GAMIFICATION_FORUM_OPEN_TOPIC, GAMIFICATION_FORUM_VOTE_TOPIC, GAMIFICATION_SOCIAL_ADD_ACTIVITY_MY_STREAM, GAMIFICATION_SOCIAL_ADD_ACTIVITY_NETWORK_STREAM, GAMIFICATION_SOCIAL_ADD_ACTIVITY_SPACE_STREAM, GAMIFICATION_SOCIAL_ADD_ACTIVITY_SPACE_TARGET, GAMIFICATION_SOCIAL_ADD_ACTIVITY_TARGET_USER_STREAM, GAMIFICATION_SOCIAL_COMMENT_ADD, GAMIFICATION_SOCIAL_COMMENT_NETWORK_STREAM, GAMIFICATION_SOCIAL_COMMENT_SPACE_STREAM, GAMIFICATION_SOCIAL_LIKE_ACTIVITY_NETWORK_STREAM, GAMIFICATION_SOCIAL_LIKE_ACTIVITY_SPACE_STREAM, GAMIFICATION_SOCIAL_LIKE_ACTIVITY_SPACE_TARGET, GAMIFICATION_SOCIAL_LIKE_ACTIVITY_TARGET_USER_STREAM, GAMIFICATION_SOCIAL_LIKE_COMMENT, GAMIFICATION_SOCIAL_LIKE_COMMENT_NETWORK_STREAM, GAMIFICATION_SOCIAL_LIKE_COMMENT_SPACE_STREAM, GAMIFICATION_SOCIAL_PROFILE_ADD_ABOUTME, GAMIFICATION_SOCIAL_PROFILE_ADD_AVATAR, GAMIFICATION_SOCIAL_PROFILE_ADD_BANNER, GAMIFICATION_SOCIAL_RELATIONSHIP_RECEIVER, GAMIFICATION_SOCIAL_RELATIONSHIP_SENDER, GAMIFICATION_SOCIAL_SPACE_ADD, GAMIFICATION_SOCIAL_SPACE_GRANT_AS_LEAD, GAMIFICATION_SOCIAL_SPACE_JOIN, GAMIFICATION_TASK_ADDON_COMMENT_TASK, GAMIFICATION_TASK_ADDON_COMPLETED_TASK_ASSIGNED, GAMIFICATION_TASK_ADDON_COMPLETED_TASK_COWORKER, GAMIFICATION_TASK_ADDON_CREATE_TASK, GAMIFICATION_WIKI_ADD_PAGE, GAMIFICATION_WIKI_UPDATE_PAGE| Constructor and Description |
|---|
GamificationWikiListener(RuleService ruleService,
GamificationProcessor gamificationProcessor,
org.exoplatform.social.core.manager.IdentityManager identityManager,
GamificationService gamificationService) |
| Modifier and Type | Method and Description |
|---|---|
void |
postAddPage(String wikiType,
String wikiOwner,
String pageId,
org.exoplatform.wiki.mow.api.Page page) |
void |
postDeletePage(String wikiType,
String wikiOwner,
String pageId,
org.exoplatform.wiki.mow.api.Page page) |
void |
postUpdatePage(String wikiType,
String wikiOwner,
String pageId,
org.exoplatform.wiki.mow.api.Page page,
org.exoplatform.wiki.service.PageUpdateType wikiUpdateType) |
getDescription, getName, setDescription, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildprotected RuleService ruleService
protected GamificationProcessor gamificationProcessor
protected org.exoplatform.social.core.manager.IdentityManager identityManager
protected GamificationService gamificationService
public GamificationWikiListener(RuleService ruleService, GamificationProcessor gamificationProcessor, org.exoplatform.social.core.manager.IdentityManager identityManager, GamificationService gamificationService)
public void postAddPage(String wikiType, String wikiOwner, String pageId, org.exoplatform.wiki.mow.api.Page page) throws org.exoplatform.wiki.WikiException
postAddPage in class org.exoplatform.wiki.service.listener.PageWikiListenerorg.exoplatform.wiki.WikiExceptionpublic void postDeletePage(String wikiType, String wikiOwner, String pageId, org.exoplatform.wiki.mow.api.Page page) throws org.exoplatform.wiki.WikiException
postDeletePage in class org.exoplatform.wiki.service.listener.PageWikiListenerorg.exoplatform.wiki.WikiExceptionpublic void postUpdatePage(String wikiType, String wikiOwner, String pageId, org.exoplatform.wiki.mow.api.Page page, org.exoplatform.wiki.service.PageUpdateType wikiUpdateType) throws org.exoplatform.wiki.WikiException
postUpdatePage in class org.exoplatform.wiki.service.listener.PageWikiListenerorg.exoplatform.wiki.WikiExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.