|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.cc.framework.ui.model.imp.SchedulerDataModelImp
| Field Summary | |
private java.util.Vector |
appointments
List with simple none recurring appointments |
private java.util.TimeZone |
timezone
The Timezone of the Scheduler |
| Constructor Summary | |
SchedulerDataModelImp()
Constructor |
|
SchedulerDataModelImp(java.util.TimeZone timezone)
Constructor |
|
| Method Summary | |
void |
addAppointment(Appointment appointment)
Adds a new appointment to the list |
void |
addAppointments(java.util.Collection appointments)
Adds a collection of new appointments to the list |
Appointment |
getAppointmentFromId(java.lang.String uniqueId)
Retrieves the appointment with the given key |
Appointment[] |
getAppointments(java.util.Calendar date)
Returns a list with all appointments for the given day |
java.util.TimeZone |
getTimeZone()
Liefert die Zeitzone zu welcher alle Datumsangaben berechnet werden sollen |
protected boolean |
match(Appointment appointment,
java.util.Calendar date)
Checks if this appointment matches a certain Day |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Vector appointments
private java.util.TimeZone timezone
| Constructor Detail |
public SchedulerDataModelImp()
public SchedulerDataModelImp(java.util.TimeZone timezone)
timezone - The Timezone of the Scheduler| Method Detail |
public java.util.TimeZone getTimeZone()
SchedulerDataModel
getTimeZone in interface SchedulerDataModelSchedulerDataModel.getTimeZone()public void addAppointment(Appointment appointment)
appointment - The new Appointmentpublic void addAppointments(java.util.Collection appointments)
appointments - The new Appointmentspublic Appointment[] getAppointments(java.util.Calendar date)
getAppointments in interface SchedulerDataModeldate - the day
public Appointment getAppointmentFromId(java.lang.String uniqueId)
SchedulerDataModel
getAppointmentFromId in interface SchedulerDataModeluniqueId - the unique Identifier of the appointment
nullSchedulerDataModel.getAppointmentFromId(java.lang.String)
protected boolean match(Appointment appointment,
java.util.Calendar date)
appointment - The appointmentdate - The Day the appointment must match
true when the appointment matches the date
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||