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>
org.exoplatform.analytics.listener.social.BaseAttachmentAnalyticsListener
io.meeds.gamification.analytics.RuleAttachmentAnalyticsListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class RuleAttachmentAnalyticsListener
extends org.exoplatform.analytics.listener.social.BaseAttachmentAnalyticsListener
-
Field Summary
Fields inherited from class org.exoplatform.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
ConstructorsConstructorDescriptionRuleAttachmentAnalyticsListener(org.exoplatform.social.attachment.AttachmentService attachmentService, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.container.xml.InitParams initParams, RuleService ruleService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidextendStatisticData(org.exoplatform.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) Methods inherited from class org.exoplatform.analytics.listener.social.BaseAttachmentAnalyticsListener
onEventMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
RuleAttachmentAnalyticsListener
public RuleAttachmentAnalyticsListener(org.exoplatform.social.attachment.AttachmentService attachmentService, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.container.xml.InitParams initParams, RuleService ruleService)
-
-
Method Details
-
extendStatisticData
protected void extendStatisticData(org.exoplatform.analytics.model.StatisticData statisticData, org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment) - Overrides:
extendStatisticDatain classorg.exoplatform.analytics.listener.social.BaseAttachmentAnalyticsListener
-
getModule
protected String getModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment) - Specified by:
getModulein classorg.exoplatform.analytics.listener.social.BaseAttachmentAnalyticsListener
-
getSubModule
protected String getSubModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment) - Specified by:
getSubModulein classorg.exoplatform.analytics.listener.social.BaseAttachmentAnalyticsListener
-