public interface ActivitiesList extends List<Activity>
Modifier and Type | Method and Description |
---|---|
ActivitiesList |
filterActivities(CoreSession session)
Returns a filtered
ActivitiesList based on the given session . |
List<Serializable> |
toActivityIds()
Transforms this
ActivitiesList into a list of Activity ids. |
List<ActivityMessage> |
toActivityMessages(Locale locale)
Transforms this
ActivitiesList into a list of ActivityMessage , internationalized with the given
locale . |
List<ActivityMessage> |
toActivityMessages(Locale locale,
String activityLinkBuilderName)
Transforms this
ActivitiesList into a list of ActivityMessage , internationalized with the given
locale . |
ActivitiesList filterActivities(CoreSession session)
ActivitiesList
based on the given session
.
All the activities related to documents the user has no read access will be filter out.
List<ActivityMessage> toActivityMessages(Locale locale)
ActivitiesList
into a list of ActivityMessage
, internationalized with the given
locale
.List<ActivityMessage> toActivityMessages(Locale locale, String activityLinkBuilderName)
ActivitiesList
into a list of ActivityMessage
, internationalized with the given
locale
.
Use the ActivityLinkBuilder
of name activityLinkBuilderName
to generate the links.
List<Serializable> toActivityIds()
ActivitiesList
into a list of Activity ids.Copyright © 2015 Nuxeo SA. All rights reserved.