|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalendarInterface
Interface to the calendar functionality of a Notes mail database.
Method Summary | |
---|---|
java.util.Iterator |
getCalendar()
Returns an iterator over all entries in the Calendar. |
java.util.Iterator |
getCalendar(boolean reverseOrder)
Returns an iterator over all entries in the Calendar. |
java.lang.Object |
getCalendarEntry(CalendarEntryDigest ced)
Given a CalendarEntryDigest, retrieve the corresponding CalendarEntry. |
java.lang.Object |
getCalendarEntry(java.lang.String unid)
Returns a calendar entry for a given unid. |
java.util.List |
getObjects(java.util.Calendar from,
java.util.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. |
Method Detail |
---|
void save(CalendarEntry entry)
entry
- the calendar entry to savejava.util.List getObjects(java.util.Calendar from, java.util.Calendar to)
from
- start dateto
- end date
java.util.Iterator getCalendar()
java.util.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 order
java.lang.Object getCalendarEntry(CalendarEntryDigest ced)
ced
- the calendar entry digest
java.lang.Object getCalendarEntry(java.lang.String unid) throws GroupwareException
unid
- the Notes document unid
GroupwareException
- 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 delete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |