@StableMinor(version="12.2", sinceVersion="8.2") public class CommentItActivityPrioritizer extends Object implements IActivityPrioritizer
This class prioritizes activities with scope Activity.SCOPE_OBJECT_END_USER
, action
IActivityStreamManager.ACTION_ID_ADD
and object type CommentItService.OBJECT_TYPE_ID_COMMENT
using
the following rules:
Content
, to the creator of the content is applied priority 0.8.lumis.portal.activitystream
Constructor and Description |
---|
CommentItActivityPrioritizer() |
Modifier and Type | Method and Description |
---|---|
Collection<ActivityPriority> |
generateActivityPriorities(Activity activity)
|
public Collection<ActivityPriority> generateActivityPriorities(Activity activity) throws PortalException
IActivityPrioritizer
generateActivityPriorities
in interface IActivityPrioritizer
activity
- the activity.PortalException
ActivityPriority
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.