Class GamificationTaskUpdateListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<TaskService,TaskPayload>
org.exoplatform.task.integration.gamification.GamificationTaskUpdateListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.services.listener.ListenerBase<TaskService,TaskPayload>

public class GamificationTaskUpdateListener extends org.exoplatform.services.listener.Listener<TaskService,TaskPayload>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.exoplatform.social.core.manager.IdentityManager
     
    protected org.exoplatform.services.listener.ListenerService
     
    protected TaskService
     

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    GamificationTaskUpdateListener(TaskService taskService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.listener.ListenerService listenerService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    createTask(TaskDto task, String eventName)
     
    void
    onEvent(org.exoplatform.services.listener.Event<TaskService,TaskPayload> event)
     
    protected void
    updateTask(TaskDto before, TaskDto after, String eventName)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.services.listener.ListenerBase

    getName
  • Field Details

    • taskService

      protected TaskService taskService
    • identityManager

      protected org.exoplatform.social.core.manager.IdentityManager identityManager
    • listenerService

      protected org.exoplatform.services.listener.ListenerService listenerService
  • Constructor Details

    • GamificationTaskUpdateListener

      public GamificationTaskUpdateListener(TaskService taskService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.listener.ListenerService listenerService)
  • Method Details