Package io.meeds.gamification.analytics
Class RuleAttachmentAnalyticsListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<String,org.exoplatform.social.attachment.model.ObjectAttachmentId>
io.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
io.meeds.gamification.analytics.RuleAttachmentAnalyticsListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.services.listener.ListenerBase<String,org.exoplatform.social.attachment.model.ObjectAttachmentId>
@Component
public class RuleAttachmentAnalyticsListener
extends io.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
-
Field Summary
Fields inherited from class io.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
ATTACHMENT_CREATED_EVENT, ATTACHMENT_DELETED_EVENT, STATISTICS_ATTACH_OPERATION, STATISTICS_DETACH_OPERATIONFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidextendStatisticData(io.meeds.analytics.model.StatisticData statisticData, org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment) protected StringgetModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment) protected StringgetSubModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment) voidinit()Methods inherited from class io.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
getAttachmentService, getSpaceService, onEventMethods 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.services.listener.ListenerBase
getName
-
Constructor Details
-
RuleAttachmentAnalyticsListener
public RuleAttachmentAnalyticsListener()
-
-
Method Details
-
init
@PostConstruct public void init() -
extendStatisticData
protected void extendStatisticData(io.meeds.analytics.model.StatisticData statisticData, org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment) - Overrides:
extendStatisticDatain classio.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
-
getModule
protected String getModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment) - Specified by:
getModulein classio.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
-
getSubModule
protected String getSubModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment) - Specified by:
getSubModulein classio.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
-
getSupportedObjectType
- Specified by:
getSupportedObjectTypein classio.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
-