Class CalendarEventInternalParticipationView
- java.lang.Object
-
- org.silverpeas.core.calendar.view.CalendarEventInternalParticipationView
-
- All Implemented Interfaces:
CalendarEventView<String>
public class CalendarEventInternalParticipationView extends Object implements CalendarEventView<String>
A view in which the occurrences of calendar events are grouped by their participants. A participant is either an author or an attendee for an event. The events occurrences are grouped by participant and for each participant the occurrences are sorted by calendar identifier and by datetime.- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description CalendarEventInternalParticipationView()
CalendarEventInternalParticipationView(Collection<User> filterOnParticipants)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<CalendarEventOccurrence>>
apply(List<CalendarEventOccurrence> occurrences)
Applies this view on the specified list of calendar event occurrences.
-
-
-
Constructor Detail
-
CalendarEventInternalParticipationView
public CalendarEventInternalParticipationView()
-
CalendarEventInternalParticipationView
public CalendarEventInternalParticipationView(Collection<User> filterOnParticipants)
-
-
Method Detail
-
apply
public Map<String,List<CalendarEventOccurrence>> apply(List<CalendarEventOccurrence> occurrences)
Description copied from interface:CalendarEventView
Applies this view on the specified list of calendar event occurrences. The occurrences will be grouped by a specific property.- Specified by:
apply
in interfaceCalendarEventView<String>
- Parameters:
occurrences
- a list of calendar event occurrences.- Returns:
- a map in which the occurrences are grouped by a specific property of type T.
-
-