Add the 'removeAll' method to the CalendarEventProvider #751

This commit is contained in:
Roman Pinyazhin 2018-05-10 16:21:42 +04:00
parent 8e4200ebf3
commit 6f932a35b3

View File

@ -23,11 +23,28 @@ import java.util.List;
public interface CalendarEventProvider {
/**
* Adds {@link CalendarEvent} to the event provider list.
* <p>
* 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.
* <p>
* 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.
* <p>
* Not supported by {@link EntityCalendarEventProvider}, use datasource for changing data items.
*/
void removeAllEvents();