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
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionAgendaEventAttendeeGamificationIntegrationListener(org.exoplatform.container.PortalContainer container, org.exoplatform.services.listener.ListenerService listenerService) -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.agenda.service.AgendaEventServicevoidonEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.EventAttendee, org.exoplatform.agenda.model.EventAttendee> event) Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
GAMIFICATION_GENERIC_EVENT
- See Also:
-
GAMIFICATION_REPLY_TO_EVENT_RULE_TITLE
- See Also:
-
-
Constructor Details
-
AgendaEventAttendeeGamificationIntegrationListener
public AgendaEventAttendeeGamificationIntegrationListener(org.exoplatform.container.PortalContainer container, org.exoplatform.services.listener.ListenerService listenerService)
-
-
Method Details
-
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()
-