Interface CalendarWriteChannelPlugin


public interface CalendarWriteChannelPlugin
A door, other than CalDAV, through which the copies of a server whose registration declares a given WriteChannel are written and removed.

How it is found. CalendarObjectWriters collects every bean implementing this interface, across web applications: a contributor is a Spring @Service, never final, living in its own add-on or in this one. WriteChannel.CALDAV is built in and cannot be claimed; a contribution naming it is ignored.

What happens without one. A server whose registration declares a channel nobody contributes is refused, never written over CalDAV instead: the channel exists precisely because a CalDAV write does something that server must not be asked to do. The write fails with CaldavPushService#WRITE_CHANNEL_UNAVAILABLE, which the sync records as a known state.

  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.caldav.model.WriteChannel
    The channel this door serves.
    The writer every object of a server on this channel goes through.
  • Method Details

    • channel

      org.exoplatform.caldav.model.WriteChannel channel()
      The channel this door serves.
      Returns:
      a channel other than WriteChannel.CALDAV, never null
    • writer

      The writer every object of a server on this channel goes through.
      Returns:
      the writer, never null