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_PROCESSFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionMetadataActivityProcessor(org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessActivity(org.exoplatform.social.core.activity.model.ExoSocialActivity activity) Methods inherited from class org.exoplatform.social.core.BaseActivityProcessorPlugin
getPriority, getTemplateParamKeysToFilter, setPriorityMethods 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.social.core.ActivityProcessor
isPreActivityProcessor, isReadActivityProcessorMethods 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:
processActivityin interfaceorg.exoplatform.social.core.ActivityProcessor- Specified by:
processActivityin classorg.exoplatform.social.core.BaseActivityProcessorPlugin
-