Package lumis.content.activitystream
Class ContentAdminActivityPrioritizer
- java.lang.Object
-
- lumis.content.activitystream.ContentAdminActivityPrioritizer
-
- All Implemented Interfaces:
IActivityPrioritizer
@StableMinor(version="16.1", sinceVersion="8.2") public class ContentAdminActivityPrioritizer extends java.lang.Object implements IActivityPrioritizer
LumisXP standard prioritizer for activities of contents created withActivity.SCOPE_OBJECT_ADMIN
scope.This class prioritizes activities with scope
Activity.SCOPE_OBJECT_ADMIN
and an object that corresponds to a content using the following rules:- Priority 0.75 is applied to user currently assigned in the content workflow.
- Priority 0.72 is applied to users that may edit content and are members of group currently assigned in the content workflow.
- Priority 0.70 is applied to users that may edit content with workflow responsible not set.
- Priority 0.50 is applied to users that may edit content with a workflow responsible set a group that they are not member of, or if the content does not have workflow.
- 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 ContentAdminActivityPrioritizer()
-
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
-
-