Package org.exoplatform.social.core
Class BaseActivityProcessorPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.core.BaseActivityProcessorPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,ActivityProcessor
public abstract class BaseActivityProcessorPlugin
extends org.exoplatform.container.component.BaseComponentPlugin
implements ActivityProcessor
A base plugin to configure
ActivityProcessors for
ActivityManager.- Version:
- $Revision$
- Author:
- Patrice Lamarque
-
Field Summary
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionBaseActivityProcessorPlugin(org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionintThis method is helper for ActivityProcessor incase we want to get list of template params to be filter.abstract voidprocessActivity(ExoSocialActivity activity) voidsetPriority(int priority) Methods 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
-
Field Details
-
priority
protected int priority -
TEMPLATE_PARAM_TO_PROCESS
- See Also:
-
TEMPLATE_PARAM_LIST_DELIM
- See Also:
-
-
Constructor Details
-
BaseActivityProcessorPlugin
public BaseActivityProcessorPlugin(org.exoplatform.container.xml.InitParams params)
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceActivityProcessor
-
setPriority
public void setPriority(int priority) -
getTemplateParamKeysToFilter
This method is helper for ActivityProcessor incase we want to get list of template params to be filter.- Parameters:
activity-- Returns:
-
processActivity
- Specified by:
processActivityin interfaceActivityProcessor
-