Interface SubscriptionEdits


public interface SubscriptionEdits
The edits one session opened as a user can make to the calendars that user subscribes to.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    subscribe(String containerUid)
    Subscribes the user to a calendar container.
    void
    unsubscribe(String containerUid)
    Unsubscribes the user from a calendar container.
  • Method Details

    • subscribe

      void subscribe(String containerUid)
      Subscribes the user to a calendar container. A no-op on the server when they already are.
      Parameters:
      containerUid - the container uid, the last segment of the calendar collection's path
      Throws:
      CalDavException - when the server refuses or cannot be reached; the subclass says which
    • unsubscribe

      void unsubscribe(String containerUid)
      Unsubscribes the user from a calendar container. A no-op on the server when they are not subscribed.
      Parameters:
      containerUid - the container uid
      Throws:
      CalDavException - when the server refuses or cannot be reached; the subclass says which