diff --git a/modules/gui/src/com/haulmont/cuba/gui/components/calendar/CalendarEventProvider.java b/modules/gui/src/com/haulmont/cuba/gui/components/calendar/CalendarEventProvider.java index 99e9e5ae2d..690093ec25 100644 --- a/modules/gui/src/com/haulmont/cuba/gui/components/calendar/CalendarEventProvider.java +++ b/modules/gui/src/com/haulmont/cuba/gui/components/calendar/CalendarEventProvider.java @@ -23,11 +23,28 @@ import java.util.List; public interface CalendarEventProvider { + /** + * Adds {@link CalendarEvent} to the event provider list. + *
+ * Not supported by {@link EntityCalendarEventProvider}, use datasource for changing data items. + * + * @param event calendar event + */ void addEvent(CalendarEvent event); + + /** + * Removes {@link CalendarEvent} from the event provider list. + *
+ * Not supported by {@link EntityCalendarEventProvider}, use datasource for changing data items. + * + * @param event calendar event + */ void removeEvent(CalendarEvent event); /** - * Removes all {@link CalendarEvent} in the list event provider. + * Removes all {@link CalendarEvent} in the event provider list. + *
+ * Not supported by {@link EntityCalendarEventProvider}, use datasource for changing data items. */ void removeAllEvents();