Interface CalendarHandler

  • All Known Implementing Classes:
    AbstractCalendarHandler, CtagHandler, EtagsHandler, MultigetHandler, WebDAVSyncHandler

    public interface CalendarHandler
    SyncHandler Interface specifies if the class is Sync Handler. The classes which implement this class can be used to update items depending on the type of syncing necessary.

    This is a helper class to help Syncing of CalDAV calendars.

    There are currently three types of Sync Handlers. Namely:

    • ETAGs Sync
    • CTAGs Sync (Similar to ETAGs but an additional step is necessary)
    • WebDAV-Sync Report
    • Calendar-Multiget Report
    • Method Detail

      • syncItems

        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.
        Returns:
        Returns the updated calendar after updation of all events.
      • updateItem

        boolean updateItem​(Appointment appointment)
        Function for create/updating multiple appointment on the server. Performs modification alongside of creation new events on the server.
        Parameters:
        appointment - Appointment to create/update.
        Returns:
        True when the updation is a success else False
      • deleteItem

        boolean deleteItem​(Appointment appointment)
        Delete Appointment on the server.
        Parameters:
        appointment - Appointment to delete
        Returns:
        True when the deletion is a success else False