|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CalendarDB
| Method Summary | |
|---|---|
void |
close()
|
boolean |
containsEntry(CalendarEntry entry)
entry is there if the id corresponds to an entry in the database; the contained data may be different |
boolean |
deleteEntry(CalendarEntry entry)
the corresponding entry in regards to the id will be deleted |
Collection<Alert> |
getActiveAlerts()
returns all active non-acknowledged alerts |
Collection<Alert> |
getAlerts(Filter<Alert> filter)
|
Collection<CalendarEntry> |
getEntries(Filter<CalendarEntry> filter)
|
void |
insertAlert(Alert alert)
|
CalendarEntry |
insertEntry(CalendarEntry entry)
the id of the given entry is ignored; the returned entry will reflect the actual database object |
void |
updateAlert(Alert alert)
|
void |
updateEntry(CalendarEntry entry)
|
| Method Detail |
|---|
boolean containsEntry(CalendarEntry entry)
throws DatabaseException
DatabaseException
void updateEntry(CalendarEntry entry)
throws CalendarException,
DatabaseException
CalendarException
DatabaseException
CalendarEntry insertEntry(CalendarEntry entry)
throws DatabaseException
DatabaseException
boolean deleteEntry(CalendarEntry entry)
throws DatabaseException
DatabaseException
Collection<CalendarEntry> getEntries(Filter<CalendarEntry> filter)
throws DatabaseException
DatabaseException
Collection<Alert> getActiveAlerts()
throws DatabaseException
DatabaseException
Collection<Alert> getAlerts(Filter<Alert> filter)
throws DatabaseException
DatabaseException
void insertAlert(Alert alert)
throws CalendarException,
DatabaseException
CalendarException
DatabaseException
void updateAlert(Alert alert)
throws CalendarException,
DatabaseException
CalendarException
DatabaseException
void close()
throws DatabaseException
close in interface CloseableDatabaseException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||