Class ItemsDataProviderManager
java.lang.Object
io.jmix.fullcalendarflowui.component.data.AbstractDataProviderManager
io.jmix.fullcalendarflowui.component.data.ItemsDataProviderManager
INTERNAL.
Data provider manager that works with ItemsCalendarDataProvider
.
-
Field Summary
Fields inherited from class io.jmix.fullcalendarflowui.component.data.AbstractDataProviderManager
dataProvider, dataSerializer, eventKeyMapper, jsFunctionName, sourceId
-
Constructor Summary
ConstructorDescriptionItemsDataProviderManager
(ItemsCalendarDataProvider dataProvider, FullCalendarSerializer serializer, FullCalendar fullCalendar) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getCalendarEvent
(String clientId) protected void
elemental.json.JsonValue
List<elemental.json.JsonValue>
void
setItemSetChangeListener
(Consumer<ItemsCalendarDataProvider.ItemSetChangeEvent> itemSetChangeListener) Methods inherited from class io.jmix.fullcalendarflowui.component.data.AbstractDataProviderManager
generateSourceId, getJsFunctionName, getSourceId
-
Field Details
-
itemSetChangeListener
-
pendingIncrementalChanges
-
-
Constructor Details
-
ItemsDataProviderManager
public ItemsDataProviderManager(ItemsCalendarDataProvider dataProvider, FullCalendarSerializer serializer, FullCalendar fullCalendar)
-
-
Method Details
-
getDataProvider
- Overrides:
getDataProvider
in classAbstractDataProviderManager
- Returns:
- data provider
-
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
-
serializeData
public elemental.json.JsonValue serializeData() -
serializeIncrementalData
-
addIncrementalChange
-
clearIncrementalData
public void clearIncrementalData() -
getItemSetChangeListener
-
setItemSetChangeListener
public void setItemSetChangeListener(@Nullable Consumer<ItemsCalendarDataProvider.ItemSetChangeEvent> itemSetChangeListener) -
onItemSetChangeListener
-