Class BlueMindServerSeed

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

@Service("blueMindAddonServerSeed") @ConditionalOnClass(org.exoplatform.caldav.plugin.CalendarServerSeed.class) public class BlueMindServerSeed extends Object implements org.exoplatform.caldav.plugin.CalendarServerSeed, org.springframework.core.Ordered
The BlueMind row a first install receives (EXO-90737): the calendar host seeds it beside its own default, into an empty registry only, and decides itself whether it arrives switched on — never, for this placeholder.

The row is the one the host used to seed itself: excused for what BlueMind is known to do to a copy (SEED_QUIRKS), mirrored into the account's main calendar — BlueMind's dedicated one is excluded from the account's free/busy and carries no answer buttons — and written through BlueMind's import channel, the same choices the drawer's BlueMind preset makes on a declaration.

A @Service named "blueMindAddonServerSeed" and ordered BlueMindCalendarPrecedence.ORDER: the host keeps the first seed of each identifier, and this one shares "bluemind" with the seed the host still ships, so a fresh install with both receives this one row.

No collaborator, on purpose. The host seeds while its own context finishes, before this add-on's context has created its singletons, so reading this seed there creates it ahead of its context. A seed that is only values makes that early creation reach nothing else.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The bean name, distinct from the host's own seed's.
    static final String
    The seed's identifier, the same as the BlueMind flavour's.
    static final List<org.exoplatform.caldav.model.ServerQuirk>
    The catalogue entries the row arrives excused for — the same four the drawer's BlueMind preset ticks.
    static final String
    The name the row is seeded under, which the BlueMind flavour recognises.
    static final String
    The address the row is seeded with: an RFC 2606 .invalid placeholder in the shape of a BlueMind DAV endpoint (/dav/), which never resolves and fails the host's address check, so the row arrives inactive until an administrator names their own server.

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Ahead of the host's own BlueMind seed.
    id()
    org.exoplatform.caldav.model.MirrorTargetKind
    The account's main calendar, see the class comment.
    List<org.exoplatform.caldav.model.ServerQuirk>
    org.exoplatform.caldav.model.WriteChannel
    BlueMind's own ICS import door: a CalDAV write makes BlueMind schedule the meeting itself.

    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 seed's.
      See Also:
    • SEED_ID

      public static final String SEED_ID
      The seed's identifier, the same as the BlueMind flavour's.
      See Also:
    • SERVER_NAME

      public static final String SERVER_NAME
      The name the row is seeded under, which the BlueMind flavour recognises.
      See Also:
    • SERVER_URL

      public static final String SERVER_URL
      The address the row is seeded with: an RFC 2606 .invalid placeholder in the shape of a BlueMind DAV endpoint (/dav/), which never resolves and fails the host's address check, so the row arrives inactive until an administrator names their own server.
      See Also:
    • SEED_QUIRKS

      public static final List<org.exoplatform.caldav.model.ServerQuirk> SEED_QUIRKS
      The catalogue entries the row arrives excused for — the same four the drawer's BlueMind preset ticks. Tolerance entries only: the host writes no entry that changes what eXo writes.
  • Constructor Details

    • BlueMindServerSeed

      public BlueMindServerSeed()
  • Method Details

    • id

      public String id()
      Specified by:
      id in interface org.exoplatform.caldav.plugin.CalendarServerSeed
    • name

      public String name()
      Specified by:
      name in interface org.exoplatform.caldav.plugin.CalendarServerSeed
    • serverUrl

      public String serverUrl()
      Specified by:
      serverUrl in interface org.exoplatform.caldav.plugin.CalendarServerSeed
    • quirks

      public List<org.exoplatform.caldav.model.ServerQuirk> quirks()
      Specified by:
      quirks in interface org.exoplatform.caldav.plugin.CalendarServerSeed
    • mirrorTarget

      public org.exoplatform.caldav.model.MirrorTargetKind mirrorTarget()
      The account's main calendar, see the class comment.
      Specified by:
      mirrorTarget in interface org.exoplatform.caldav.plugin.CalendarServerSeed
      Returns:
      MirrorTargetKind.MAIN_CALENDAR
    • writeChannel

      public org.exoplatform.caldav.model.WriteChannel writeChannel()
      BlueMind's own ICS import door: a CalDAV write makes BlueMind schedule the meeting itself.
      Specified by:
      writeChannel in interface org.exoplatform.caldav.plugin.CalendarServerSeed
      Returns:
      WriteChannel.BLUEMIND_IMPORT
    • getOrder

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