Class CallbackDataProviderManager
java.lang.Object
io.jmix.fullcalendarflowui.component.data.AbstractDataProviderManager
io.jmix.fullcalendarflowui.component.data.CallbackDataProviderManager
INTERNAL.
Data provider manager that works with CallbackCalendarDataProvider
.
-
Field Summary
Fields inherited from class io.jmix.fullcalendarflowui.component.data.AbstractDataProviderManager
dataProvider, dataSerializer, eventKeyMapper, jsFunctionName, sourceId
-
Constructor Summary
ConstructorDescriptionCallbackDataProviderManager
(CallbackCalendarDataProvider dataProvider, FullCalendarSerializer serializer, FullCalendar fullCalendar) -
Method Summary
Modifier and TypeMethodDescriptionelemental.json.JsonArray
getCalendarEvent
(String clientId) elemental.json.JsonArray
serializeData
(List<CalendarEvent> calendarEvents) Methods inherited from class io.jmix.fullcalendarflowui.component.data.AbstractDataProviderManager
generateSourceId, getJsFunctionName, getSourceId
-
Field Details
-
lastFetchedEvents
-
-
Constructor Details
-
CallbackDataProviderManager
public CallbackDataProviderManager(CallbackCalendarDataProvider dataProvider, FullCalendarSerializer serializer, FullCalendar fullCalendar)
-
-
Method Details
-
getDataProvider
- Overrides:
getDataProvider
in classAbstractDataProviderManager
- Returns:
- data provider
-
fetchAndSerialize
public elemental.json.JsonArray fetchAndSerialize(CallbackCalendarDataProvider.ItemsFetchContext context) -
serializeData
-
getCalendarEvent
- Specified by:
getCalendarEvent
in classAbstractDataProviderManager
- Parameters:
clientId
- ID of event from client-side- Returns:
- calendar event or
null
if there is no event with the provided ID
-