Class MetadataActivityProcessor

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.core.BaseActivityProcessorPlugin
org.exoplatform.social.core.processor.MetadataActivityProcessor
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.social.core.ActivityProcessor

public class MetadataActivityProcessor extends org.exoplatform.social.core.BaseActivityProcessorPlugin
Retrieves the list of Metadatas to attach to activity. This will allow to cache metadata items for a given activity without having to retrieve it again each time someone accesses the activity
  • Field Summary

    Fields inherited from class org.exoplatform.social.core.BaseActivityProcessorPlugin

    priority, TEMPLATE_PARAM_LIST_DELIM, TEMPLATE_PARAM_TO_PROCESS

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

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    MetadataActivityProcessor(org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.container.xml.InitParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processActivity(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
     

    Methods inherited from class org.exoplatform.social.core.BaseActivityProcessorPlugin

    getPriority, getTemplateParamKeysToFilter, setPriority

    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.social.core.ActivityProcessor

    isPreActivityProcessor, isReadActivityProcessor

    Methods inherited from interface org.exoplatform.container.component.ComponentPlugin

    getDescription, getName, setDescription, setName
  • Constructor Details

    • MetadataActivityProcessor

      public MetadataActivityProcessor(org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.container.xml.InitParams params)
  • Method Details

    • processActivity

      public void processActivity(org.exoplatform.social.core.activity.model.ExoSocialActivity activity)
      Specified by:
      processActivity in interface org.exoplatform.social.core.ActivityProcessor
      Specified by:
      processActivity in class org.exoplatform.social.core.BaseActivityProcessorPlugin