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 . |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
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 © 2018 Nuxeo. All rights reserved.