Interface IInternalCalendar
- All Superinterfaces:
ICalendar, IChangelogSupport, ICountingSupport, ICrudByIdSupport<VEventSeries>, IItemChangelogSupport, IReadByIdSupport<VEventSeries>, IRestoreCrudSupport<VEventSeries>, IRestoreItemCrudSupport<VEventSeries>, IRestoreSupport<VEventSeries>, ISortingSupport
-
Method Summary
Modifier and TypeMethodDescriptionGet allVEventHistoryentries for current calendarvoidrestoreEvents(VEventChanges changes, CalendarHistory history) Restore events by addingVEventChangeswith theirVEventHistoryon current calendarvoiduncancel(String uid, VEventSeries event) Updates an event whose version stored in the calendar may be cancelled, typically when its organizer invites the attendees again.updates(VEventChanges changes, boolean notify) Methods inherited from interface ICalendar
all, create, delete, getByIcsUid, getComplete, isAutoSyncActivated, list, multipleGet, multipleGetByRange, reset, search, searchPendingCounters, sync, touch, update, updatesMethods inherited from interface IChangelogSupport
changeset, changesetById, filteredChangesetById, getVersionMethods inherited from interface ICountingSupport
countMethods inherited from interface ICrudByIdSupport
createById, deleteById, multipleDeleteById, multipleDeleteById, updateByIdMethods inherited from interface IItemChangelogSupport
itemChangelogMethods inherited from interface IReadByIdSupport
getCompleteById, multipleGetByIdMethods inherited from interface IRestoreCrudSupport
deleteMethods inherited from interface IRestoreSupport
get, itemValueExists, restoreMethods inherited from interface ISortingSupport
sortedIds, sortedUids
-
Method Details
-
updates
-
emitNotification
void emitNotification() -
calendarHistory
CalendarHistory calendarHistory()Get allVEventHistoryentries for current calendar- Returns:
CalendarHistory
-
restoreEvents
Restore events by addingVEventChangeswith theirVEventHistoryon current calendar- Parameters:
changes- containing list of events to addhistory- containing list of events history- Returns:
ContainerUpdatesResult
-
uncancel
Updates an event whose version stored in the calendar may be cancelled, typically when its organizer invites the attendees again. UnlikeICalendar.update(String, VEventSeries, Boolean), the cancelled event or occurrences stored in the calendar do not take precedence over the given version. The attendees are not notified.- Parameters:
uid- uid of the event to updateevent- new version of the event
-