Package org.exoplatform.agenda.listener
Class AgendaEventAttendeeGamificationIntegrationListener
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee>
-
- org.exoplatform.agenda.listener.AgendaEventAttendeeGamificationIntegrationListener
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class AgendaEventAttendeeGamificationIntegrationListener extends org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee>A listener that will be triggered when a user reply to an event. This will add the user who replied to the event the dedicated gamification points.
-
-
Field Summary
Fields Modifier and Type Field Description static StringGAMIFICATION_GENERIC_EVENTstatic StringGAMIFICATION_REPLY_TO_EVENT_RULE_TITLE
-
Constructor Summary
Constructors Constructor Description AgendaEventAttendeeGamificationIntegrationListener(org.exoplatform.container.PortalContainer container, org.exoplatform.services.listener.ListenerService listenerService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.agenda.service.AgendaEventServicegetAgendaEventService()voidonEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee> event)
-
-
-
Field Detail
-
GAMIFICATION_GENERIC_EVENT
public static final String GAMIFICATION_GENERIC_EVENT
- See Also:
- Constant Field Values
-
GAMIFICATION_REPLY_TO_EVENT_RULE_TITLE
public static final String GAMIFICATION_REPLY_TO_EVENT_RULE_TITLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
onEvent
public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee> event) throws Exception- Specified by:
onEventin classorg.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.EventAttendee,org.exoplatform.agenda.model.EventAttendee>- Throws:
Exception
-
getAgendaEventService
public org.exoplatform.agenda.service.AgendaEventService getAgendaEventService()
-
-