public void deleteAll(Collection<TimelineEvent<E>> events, TimelineUpdater timelineUpdater) {
        if (events != null && !events.isEmpty()) {
            for (TimelineEvent<E> event : events) {
                delete(event, timelineUpdater);
            }
        }
    }
Deletes all given events in the model with UI update.

@param events          collection of events to be deleted
@param timelineUpdater TimelineUpdater instance to delete the events in UI
primefaces/src/main/java/org/primefaces/model/timeline/TimelineModel.java