Class MentionsProcessor

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

public class MentionsProcessor extends org.exoplatform.social.core.BaseActivityProcessorPlugin
A processor that substitute @username expressions by a link on the user profile
Version:
$Revision$
Author:
Patrice Lamarque
  • 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
    MentionsProcessor(org.exoplatform.portal.config.UserPortalConfigService userPortalConfigService, 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

    • MentionsProcessor

      public MentionsProcessor(org.exoplatform.portal.config.UserPortalConfigService userPortalConfigService, 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