Class BlueMindWriteChannelPlugin

java.lang.Object
org.exoplatform.bluemind.calendar.plugin.BlueMindWriteChannelPlugin
All Implemented Interfaces:
org.exoplatform.caldav.plugin.CalendarWriteChannelPlugin, org.springframework.core.Ordered

@Service("blueMindAddonWriteChannelPlugin") @ConditionalOnClass(org.exoplatform.caldav.plugin.CalendarWriteChannelPlugin.class) public class BlueMindWriteChannelPlugin extends Object implements org.exoplatform.caldav.plugin.CalendarWriteChannelPlugin, org.springframework.core.Ordered
Contributes BlueMind's import door for WriteChannel.BLUEMIND_IMPORT.

A @Service, like any contribution from another add-on, so that the host collects it by type through the Kernel/Spring bridge and never names it; named "blueMindAddonWriteChannelPlugin" and ordered BlueMindCalendarPrecedence.ORDER so that it is the one the host keeps while the host still ships a contribution of its own for the same channel.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The bean name, distinct from the host's own contribution's.

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    The contribution over the import writer.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.caldav.model.WriteChannel
    int
    Ahead of the host's own contribution for the same channel.
    org.exoplatform.caldav.client.CalendarObjectWriter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BEAN_NAME

      public static final String BEAN_NAME
      The bean name, distinct from the host's own contribution's.
      See Also:
  • Constructor Details

    • BlueMindWriteChannelPlugin

      public BlueMindWriteChannelPlugin(BlueMindImportWriter blueMindImportWriter)
      The contribution over the import writer.
      Parameters:
      blueMindImportWriter - the writer over BlueMind's ICS import API
  • Method Details

    • channel

      public org.exoplatform.caldav.model.WriteChannel channel()
      Specified by:
      channel in interface org.exoplatform.caldav.plugin.CalendarWriteChannelPlugin
    • writer

      public org.exoplatform.caldav.client.CalendarObjectWriter writer()
      Specified by:
      writer in interface org.exoplatform.caldav.plugin.CalendarWriteChannelPlugin
    • getOrder

      public int getOrder()
      Ahead of the host's own contribution for the same channel.
      Specified by:
      getOrder in interface org.springframework.core.Ordered
      Returns:
      BlueMindCalendarPrecedence.ORDER