net.sf.borg.model.db
Interface AppointmentDB

All Superinterfaces:
EntityDB<Appointment>
All Known Implementing Classes:
ApptJdbcDB

public interface AppointmentDB
extends EntityDB<Appointment>

A EntityDB subclass which allows efficient retrieval of appointment ToDo and Repeat keys.


Method Summary
 Collection<Integer> getRepeatKeys()
          Gets the keys of all Appointments that are marked as repeating
 Collection<Integer> getTodoKeys()
          Gets the keys of all Appointments that are marked as Todo's.
 
Methods inherited from interface net.sf.borg.model.db.EntityDB
addObj, delete, newObj, nextkey, readAll, readObj, sync, updateObj
 

Method Detail

getTodoKeys

Collection<Integer> getTodoKeys()
                                throws Exception
Gets the keys of all Appointments that are marked as Todo's.

Returns:
the todo keys
Throws:
Exception - the exception

getRepeatKeys

Collection<Integer> getRepeatKeys()
                                  throws Exception
Gets the keys of all Appointments that are marked as repeating

Returns:
the repeat keys
Throws:
Exception - the exception


Generated September 24 2010 by mbb using Apache Ant version 1.7.1 compiled on June 27 2008 and Java version 1.6.0_20 from Sun Microsystems Inc. on Linux i386 2.6.24-28-generic