Class AbstractCalendarWebRequestContext<T extends AbstractCalendarWebController>

    • Constructor Detail

      • AbstractCalendarWebRequestContext

        public AbstractCalendarWebRequestContext()
    • Method Detail

      • getComponentInstanceCalendars

        protected ComponentInstanceCalendars getComponentInstanceCalendars()
        Gets the calendars.
        Returns:
        list of calendars.
      • setComponentInstanceCalendars

        protected void setComponentInstanceCalendars​(ComponentInstanceCalendars componentInstanceCalendars)
      • uri

        public CalendarResourceURIs uri()
        Gets the calendar URI producer.
        Returns:
        the calendar URI producer.
      • getMainCalendar

        public Calendar getMainCalendar()
        Gets the main calendar.
        Returns:
        the main calendar linked to the instance.
        Throws:
        javax.ws.rs.WebApplicationException - with Response.Status.NOT_FOUND code if no calendars exist for component instance.
      • getOccurrenceStartDate

        public Temporal getOccurrenceStartDate()
        Gets the calendar corresponding to the identifier contained into request as calendarId parameter name.
        Returns:
        a calendar.
      • getCalendarEventOccurrenceById

        public CalendarEventOccurrence getCalendarEventOccurrenceById()
        Gets the event occurrence corresponding to the identifier contained into request as occurrenceId parameter name.
        Returns:
        an event.