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_OPERATION

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

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    extendStatisticData(io.meeds.analytics.model.StatisticData statisticData, org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment)
     
    protected String
    getModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment)
     
    protected String
    getSubModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment)
     
    protected List<String>
     
    void
     

    Methods inherited from class io.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener

    getAttachmentService, getSpaceService, onEvent

    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
  • 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:
      extendStatisticData in class io.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
    • getModule

      protected String getModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment)
      Specified by:
      getModule in class io.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
    • getSubModule

      protected String getSubModule(org.exoplatform.social.attachment.model.ObjectAttachmentId objectAttachment)
      Specified by:
      getSubModule in class io.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener
    • getSupportedObjectType

      protected List<String> getSupportedObjectType()
      Specified by:
      getSupportedObjectType in class io.meeds.analytics.listener.social.BaseAttachmentAnalyticsListener