Package lumis.service.activitystream
Class CreateMessagePrioritizer
- java.lang.Object
-
- lumis.service.activitystream.CreateMessagePrioritizer
-
- All Implemented Interfaces:
IActivityPrioritizer
public class CreateMessagePrioritizer extends java.lang.Object implements IActivityPrioritizer
Prioritizer for messages sent by users using the activity stream service.Is given a priority of 0.55 for all users that have
ServiceInstancePermissions.VIEW_SERVICE_INSTANCE
permission on the corresponding activity stream service instance.- Since:
- 8.2.0
- Version:
- $Revision: 18134 $ $Date: 2015-12-15 17:29:32 -0200 (Tue, 15 Dec 2015) $
-
-
Constructor Summary
Constructors Constructor Description CreateMessagePrioritizer()
-
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
-
-