Class AbstractCalendarHandler
java.lang.Object
org.apache.openmeetings.service.calendar.caldav.handler.AbstractCalendarHandler
- All Implemented Interfaces:
CalendarHandler
- Direct Known Subclasses:
CtagHandler
,EtagsHandler
,MultigetHandler
,WebDAVSyncHandler
Abstract Class which contains all the common code for all Handlers.
-
Field Summary
Modifier and TypeFieldDescriptionprotected AppointmentDao
protected OmCalendar
protected org.apache.http.client.HttpClient
protected org.apache.http.client.protocol.HttpClientContext
protected String
protected IcalUtils
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractCalendarHandler
(String path, OmCalendar calendar, org.apache.http.client.HttpClient client, org.apache.http.client.protocol.HttpClientContext context, AppointmentDao appointmentDao, IcalUtils utils) -
Method Summary
Modifier and TypeMethodDescriptionFunction to update all items in the CalDAV calendar.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.openmeetings.service.calendar.caldav.handler.CalendarHandler
deleteItem, updateItem
-
Field Details
-
client
protected org.apache.http.client.HttpClient client -
context
protected org.apache.http.client.protocol.HttpClientContext context -
calendar
-
path
-
utils
-
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
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 interfaceCalendarHandler
- Returns:
- Returns the updated calendar after updation of all events.
-