Interface CalendarEventOccurrenceRepository

    • Method Detail

      • getAllByEvent

        List<CalendarEventOccurrence> getAllByEvent​(CalendarEvent event)
        Gets all the persisted occurrences of the specified event.
        Returns:
        a list of the persisted occurrences of the given event. If no occurrences, then an empty list is returned.
      • getAll

        List<CalendarEventOccurrence> getAll​(Collection<CalendarEvent> events,
                                             Period period)
        Gets all the persisted occurrences of the specified events occurring in the specified period of time.
        Parameters:
        period - the period of time into which the instances of the event should occur.
        Returns:
        a list of the persisted occurrences of the given event and occurring in the given period of time. If no occurrences of the events and in the given period of time were persisted, then an empty list is returned.
      • getAllSince

        List<CalendarEventOccurrence> getAllSince​(CalendarEventOccurrence occurrence)
        Gets all the persisted occurrences of a given event since and including the specified one.
        Parameters:
        occurrence - the occurrence since which all the others occurrences, including iself, have to be get.
        Returns:
        a list of persisted occurrences since and including the specified one. All of them are from the same event.