Package lumis.content.activitystream
Class ContentCreatedToEndUserActivityPrioritizer
- java.lang.Object
-
- lumis.content.activitystream.ContentCreatedToEndUserActivityPrioritizer
-
- All Implemented Interfaces:
IActivityPrioritizer
@StableMinor(version="16.1", sinceVersion="8.2") public class ContentCreatedToEndUserActivityPrioritizer extends java.lang.Object implements IActivityPrioritizer
LumisXP standard prioritizer for activities of contents created withActivity.SCOPE_OBJECT_END_USER
scope.This class prioritizes activities with scope
Activity.SCOPE_OBJECT_END_USER
, actionIActivityStreamManager.ACTION_ID_CREATE
and an object type that corresponds to a content using the following rules:- To the users that may view the content is applied priority:
- 0.6 if the content is highlighted.
- 0.5 if the content is not highlighted.
- Since:
- 8.2.0
- Version:
- $Revision: 26157 $ $Date: 2024-01-13 11:35:03 -0300 (Sat, 13 Jan 2024) $
- See Also:
lumis.portal.activitystream
-
-
Constructor Summary
Constructors Constructor Description ContentCreatedToEndUserActivityPrioritizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ActivityPriority>
generateActivityPriorities(Activity activity)
-
-
-
Method Detail
-
generateActivityPriorities
public java.util.Collection<ActivityPriority> generateActivityPriorities(Activity activity) throws PortalException
Description copied from interface:IActivityPrioritizer
- Specified by:
generateActivityPriorities
in interfaceIActivityPrioritizer
- Parameters:
activity
- the activity.- Returns:
- a collection containing the priority specifications to be applied.
- Throws:
PortalException
- See Also:
ActivityPriority
-
-