Class UserCalendarWebManager
- java.lang.Object
-
- org.silverpeas.core.webapi.calendar.CalendarWebManager
-
- org.silverpeas.web.usercalendar.services.UserCalendarWebManager
-
@Service @Named("userCalendarCalendarWebManager") public class UserCalendarWebManager extends CalendarWebManager
- Author:
- Yohann Chastagnier
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.webapi.calendar.CalendarWebManager
NAME_SUFFIX
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UserCalendarWebManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CalendarEventOccurrence>
getEventOccurrencesOf(LocalDate startDate, LocalDate endDate, List<Calendar> calendars, User currentRequester)
Gets the event occurrences associated to a calendar and contained a time window specified by the start and end datetime.
The occurrences are sorted from the lowest to the highest date.-
Methods inherited from class org.silverpeas.core.webapi.calendar.CalendarWebManager
createEvent, deleteCalendar, deleteOccurrence, exportCalendarAsICalendarFormat, get, getAllEventOccurrencesByUserIds, getCalendarsHandledBy, getCalendarsHandledBy, getEventOccurrencesOf, getFirstCalendarEventOccurrenceFromEventId, getLocalizationBundle, getNextEventOccurrences, getNextEventTimeWindows, importEventsAsICalendarFormat, saveCalendar, saveOccurrence, synchronizeCalendar, updateOccurrenceAttendeeParticipation
-
-
-
-
Method Detail
-
getEventOccurrencesOf
public List<CalendarEventOccurrence> getEventOccurrencesOf(LocalDate startDate, LocalDate endDate, List<Calendar> calendars, User currentRequester)
Description copied from class:CalendarWebManager
Gets the event occurrences associated to a calendar and contained a time window specified by the start and end datetime.
The occurrences are sorted from the lowest to the highest date.- Overrides:
getEventOccurrencesOf
in classCalendarWebManager
- Parameters:
startDate
- the start date of time window.endDate
- the end date of time window.calendars
- the calendars the event occurrences belong to.- Returns:
- a list of entities of calendar event occurrences.
-
-