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
FieldsModifier and TypeFieldDescriptionprotected AppointmentDaoprotected OmCalendarprotected org.apache.http.client.HttpClientprotected org.apache.http.client.protocol.HttpClientContextprotected Stringprotected IcalUtils -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractCalendarHandler(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, waitMethods 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:
syncItemsin interfaceCalendarHandler- Returns:
- Returns the updated calendar after updation of all events.
-