public interface CalendarInterface
| Modifier and Type | Method and Description |
|---|---|
Iterator |
getCalendar()
Returns an iterator over all entries in the Calendar.
|
Iterator |
getCalendar(boolean reverseOrder)
Returns an iterator over all entries in the Calendar.
|
Object |
getCalendarEntry(CalendarEntryDigest ced)
Given a CalendarEntryDigest, retrieve the corresponding CalendarEntry.
|
Object |
getCalendarEntry(String unid)
Returns a calendar entry for a given unid.
|
List |
getObjects(Calendar from,
Calendar to)
Returns calendar objects within the specified time frame.
|
void |
remove(CalendarEntry entry)
Deletes an existing calendar entry.
|
void |
remove(CalendarEntryDigest digest)
Deletes an existing calendar entry.
|
void |
save(CalendarEntry entry)
Saves a new calendar entry.
|
void save(CalendarEntry entry)
entry - the calendar entry to saveList getObjects(Calendar from, Calendar to)
from - start dateto - end dateIterator getCalendar()
Iterator getCalendar(boolean reverseOrder)
Depending on how the Calendar is sorted (ascending or descending by date), choose where to start reading entries.
reverseOrder - true if iterator should iterate in
reverse orderObject getCalendarEntry(CalendarEntryDigest ced)
ced - the calendar entry digestObject getCalendarEntry(String unid) throws GroupwareException
unid - the Notes document unidGroupwareException - if the calendar entry cannot be
found or mapped.CalendarEntry.getAppointmentUnid()void remove(CalendarEntry entry)
entry - an entry to deletevoid remove(CalendarEntryDigest digest)
digest - a calendar entry digest to deleteCopyright © 2005–2020. All rights reserved.