Class CalDavCalendarSource
java.lang.Object
com.codename1.calendar.CalendarSource
com.codename1.calendar.CalDavCalendarSource
Standards-based CalDAV source. Pass the account's calendar-home URL; the
source discovers collections below it and uses RFC 6578 sync tokens when
the server advertises them.
-
Constructor Summary
ConstructorsConstructorDescriptionCalDavCalendarSource(String id, String displayName, String calendarHomeUrl, CalDavAuthentication authentication) CalDavCalendarSource(String id, String displayName, String calendarHomeUrl, CalDavAuthentication authentication, CalendarHttpTransport transport) -
Method Summary
Modifier and TypeMethodDescriptiondeleteEvent(String calendarId, String eventId, CalendarMutationScope scope, String version) deleteTask(String calendarId, String taskId, CalendarMutationScope scope, String version) getAuthorizationStatus(CalendarAccess access) listCalendars(CalendarInfo.ContentType type, String pageToken) queryEvents(CalendarQuery query) queryTasks(CalendarQuery query) requestAuthorization(CalendarAccess access) saveEvent(CalendarEvent event, CalendarMutationScope scope) saveTask(CalendarTask task, CalendarMutationScope scope) Methods inherited from class CalendarSource
addChangeListener, completed, deleteCalendar, fireChange, getDisplayName, getId, isAvailable, queryFreeBusy, removeChangeListener, respondToEvent, saveCalendar, unavailable, unsupported
-
Constructor Details
-
CalDavCalendarSource
public CalDavCalendarSource(String id, String displayName, String calendarHomeUrl, CalDavAuthentication authentication) -
CalDavCalendarSource
public CalDavCalendarSource(String id, String displayName, String calendarHomeUrl, CalDavAuthentication authentication, CalendarHttpTransport transport)
-
-
Method Details
-
getCapabilities
- Overrides:
getCapabilitiesin classCalendarSource
-
getAuthorizationStatus
- Overrides:
getAuthorizationStatusin classCalendarSource
-
requestAuthorization
- Overrides:
requestAuthorizationin classCalendarSource
-
listCalendars
public AsyncResource<CalendarPage<CalendarInfo>> listCalendars(CalendarInfo.ContentType type, String pageToken) - Overrides:
listCalendarsin classCalendarSource
-
queryEvents
- Overrides:
queryEventsin classCalendarSource
-
getEvent
- Overrides:
getEventin classCalendarSource
-
saveEvent
- Overrides:
saveEventin classCalendarSource
-
deleteEvent
public AsyncResource<Boolean> deleteEvent(String calendarId, String eventId, CalendarMutationScope scope, String version) - Overrides:
deleteEventin classCalendarSource
-
queryTasks
- Overrides:
queryTasksin classCalendarSource
-
getTask
- Overrides:
getTaskin classCalendarSource
-
saveTask
- Overrides:
saveTaskin classCalendarSource
-
deleteTask
public AsyncResource<Boolean> deleteTask(String calendarId, String taskId, CalendarMutationScope scope, String version) - Overrides:
deleteTaskin classCalendarSource
-