Interface CalendarCollection

    • Method Detail

      • getTimeZone

        Calendar getTimeZone()
        Returns:
        an iCalendar object with exactly one VTIMEZONE component.
      • getSupportedComponentTypes

        String[] getSupportedComponentTypes()
        Returns:
        an array of component names indicating the type of components supported by the collection.
      • getSupportedMediaTypes

        MediaType[] getSupportedMediaTypes()
        Returns:
        the media type supported for the calendar object resources contained in a given calendar collection (e.g., iCalendar version 2.0).
      • getMaxResourceSize

        long getMaxResourceSize()
        Returns:
        a numeric value indicating the maximum size of a resource in octets that the server is willing to accept when a calendar object resource is stored in a calendar collection.
      • getMinDateTime

        String getMinDateTime()
        Returns:
        a DATE-TIME value indicating the earliest date and time (in UTC) that the server is willing to accept for any DATE or DATE-TIME value in a calendar object resource stored in a calendar collection.
      • getMaxDateTime

        String getMaxDateTime()
        Returns:
        a DATE-TIME value indicating the latest date and time (in UTC) that the server is willing to accept for any DATE or DATE-TIME value in a calendar object resource stored in a calendar collection.
      • getMaxInstances

        Integer getMaxInstances()
        Returns:
        a numeric value indicating the maximum number of recurrence instances that a calendar object resource stored in a calendar collection can generate.
      • getMaxAttendeesPerInstance

        Integer getMaxAttendeesPerInstance()
        Returns:
        a numeric value indicating the maximum number of ATTENDEE properties in any instance of a calendar object resource stored in a calendar collection.
      • getCalendar

        Calendar getCalendar​(String uid)
                      throws ObjectNotFoundException
        Returns the calendar object with the specified UID.
        Parameters:
        uid - the UID associated with the returned calendar
        Returns:
        a calendar object or null if no calendar with the specified UID exists
        Throws:
        ObjectNotFoundException
      • export

        Calendar export()
                 throws ObjectStoreException
        Exports the entire collection as a single calendar object.
        Returns:
        a calendar object instance that contains all calendars in the collection
        Throws:
        ObjectStoreException - where an unexpected error occurs