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
FieldsModifier and TypeFieldDescriptionstatic final StringThe bean name, distinct from the host's own contribution's.Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionBlueMindWriteChannelPlugin(BlueMindImportWriter blueMindImportWriter) The contribution over the import writer. -
Method Summary
-
Field Details
-
BEAN_NAME
The bean name, distinct from the host's own contribution's.- See Also:
-
-
Constructor Details
-
BlueMindWriteChannelPlugin
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:
channelin interfaceorg.exoplatform.caldav.plugin.CalendarWriteChannelPlugin
-
writer
public org.exoplatform.caldav.client.CalendarObjectWriter writer()- Specified by:
writerin interfaceorg.exoplatform.caldav.plugin.CalendarWriteChannelPlugin
-
getOrder
public int getOrder()Ahead of the host's own contribution for the same channel.- Specified by:
getOrderin interfaceorg.springframework.core.Ordered- Returns:
BlueMindCalendarPrecedence.ORDER
-