Class AbstractCalendarHandler

java.lang.Object
org.apache.openmeetings.service.calendar.caldav.handler.AbstractCalendarHandler
All Implemented Interfaces:
CalendarHandler
Direct Known Subclasses:
CtagHandler, EtagsHandler, MultigetHandler, WebDAVSyncHandler

public abstract class AbstractCalendarHandler extends Object implements CalendarHandler
Abstract Class which contains all the common code for all Handlers.
  • Field Details

    • client

      protected org.apache.http.client.HttpClient client
    • context

      protected org.apache.http.client.protocol.HttpClientContext context
    • calendar

      protected OmCalendar calendar
    • path

      protected String path
    • utils

      protected IcalUtils utils
    • appointmentDao

      protected AppointmentDao appointmentDao
  • Constructor Details

    • AbstractCalendarHandler

      protected AbstractCalendarHandler(String path, OmCalendar calendar, org.apache.http.client.HttpClient client, org.apache.http.client.protocol.HttpClientContext context, AppointmentDao appointmentDao, IcalUtils utils)
  • Method Details

    • syncItems

      public OmCalendar syncItems()
      Function to update all items in the CalDAV calendar. The owner of the appointments created are the same as the owner of the calendar.
      Specified by:
      syncItems in interface CalendarHandler
      Returns:
      Returns the updated calendar after updation of all events.