@StableMinor(version="12.3", sinceVersion="8.2") public class UserPostActivityPrioritizer extends Object implements IActivityPrioritizer
This class prioritizes activities with scope Activity.SCOPE_OBJECT_END_USER
, action
IActivityStreamManager.ACTION_ID_ADD
or IActivityStreamManager.ACTION_ID_CREATE
and object type post or CommentItService.OBJECT_TYPE_ID_COMMENT
using
the following rule:
lumis.portal.activitystream
Constructor and Description |
---|
UserPostActivityPrioritizer() |
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.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.