Class AbstractDataProviderManager

java.lang.Object
io.jmix.fullcalendarflowui.component.data.AbstractDataProviderManager
Direct Known Subclasses:
CallbackDataProviderManager, ItemsDataProviderManager

public abstract class AbstractDataProviderManager extends Object
INTERNAL.

The manager of concrete data provider. It is a connector between event source in client-side and server's CalendarDataProvider.

  • Field Details

  • Constructor Details

  • Method Details

    • getDataProvider

      public CalendarDataProvider getDataProvider()
      Returns:
      data provider
    • getSourceId

      public String getSourceId()
      Returns:
      data provider's ID that is used in client-side
    • getJsFunctionName

      public String getJsFunctionName()
      Returns:
      a JS function that should be invoked to add data provider to component at the client-side
    • getCalendarEvent

      @Nullable public abstract CalendarEvent getCalendarEvent(String clientId)
      Parameters:
      clientId - ID of event from client-side
      Returns:
      calendar event or null if there is no event with the provided ID
    • generateSourceId

      protected String generateSourceId(CalendarDataProvider dataProvider)