Class UserCalendarWebManager


  • @Service
    @Named("userCalendarCalendarWebManager")
    public class UserCalendarWebManager
    extends CalendarWebManager
    Author:
    Yohann Chastagnier
    • Constructor Detail

      • UserCalendarWebManager

        protected UserCalendarWebManager()
    • 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 class CalendarWebManager
        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.