public class CtagHandler extends AbstractCalendarHandler
CalendarHandler
Modifier and Type | Field and Description |
---|---|
static org.apache.jackrabbit.webdav.property.DavPropertyName |
DNAME_GETCTAG |
static org.apache.jackrabbit.webdav.xml.Namespace |
NAMESPACE_CALSERVER |
appointmentDao, calendar, client, path, utils
Constructor and Description |
---|
CtagHandler(String path,
org.apache.openmeetings.db.entity.calendar.OmCalendar calendar,
org.apache.commons.httpclient.HttpClient client,
org.apache.openmeetings.db.dao.calendar.AppointmentDao appointmentDao,
iCalUtils utils) |
Modifier and Type | Method and Description |
---|---|
boolean |
deleteItem(org.apache.openmeetings.db.entity.calendar.Appointment appointment)
Delete Appointment on the server.
|
org.apache.openmeetings.db.entity.calendar.OmCalendar |
syncItems()
Function to update all items in the CalDAV calendar.
|
boolean |
updateItem(org.apache.openmeetings.db.entity.calendar.Appointment appointment)
Function for create/updating multiple appointment on the server.
|
listToMap
public static final org.apache.jackrabbit.webdav.xml.Namespace NAMESPACE_CALSERVER
public static final org.apache.jackrabbit.webdav.property.DavPropertyName DNAME_GETCTAG
public org.apache.openmeetings.db.entity.calendar.OmCalendar syncItems()
CalendarHandler
public boolean updateItem(org.apache.openmeetings.db.entity.calendar.Appointment appointment)
CalendarHandler
appointment
- Appointment to create/update.True
when the updation is a success else False
public boolean deleteItem(org.apache.openmeetings.db.entity.calendar.Appointment appointment)
CalendarHandler
appointment
- Appointment to deleteTrue
when the deletion is a success else False
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.