com.cc.framework.ui.model.imp
Class CheckableAppointmentImp

java.lang.Object
  extended bycom.cc.framework.ui.model.imp.AppointmentImp
      extended bycom.cc.framework.ui.model.imp.CheckableAppointmentImp
All Implemented Interfaces:
Appointment, CheckableAppointment

public class CheckableAppointmentImp
extends AppointmentImp
implements CheckableAppointment

This Class adds checkability to simple appointments

Version:
$Revision$
Author:
Harald Schulz

Field Summary
private  java.util.Map checkState
          Checked Appointments
 
Fields inherited from class com.cc.framework.ui.model.imp.AppointmentImp
 
Constructor Summary
CheckableAppointmentImp()
          Creates a simple appointment
CheckableAppointmentImp(java.lang.String id, java.lang.String subject, java.util.Calendar startTime, AppointmentPriority priority)
          Creates a simple allday event
CheckableAppointmentImp(java.lang.String id, java.lang.String subject, java.util.Calendar startTime, java.util.Calendar endTime, AppointmentPriority priority)
          Creates a simple appointment
CheckableAppointmentImp(java.lang.String id, java.lang.String subject, java.util.Calendar startTime, int duration, AppointmentPriority priority)
          Creates a simple appointment
 
Method Summary
 int getCheckState(long timeInMillis)
          Returns the check state of an object.
 void setCheckState(long timeInMillis, int newState)
          Sets the check state of the object
 
Methods inherited from class com.cc.framework.ui.model.imp.AppointmentImp
getEndTime, getImageRef, getLink, getPriority, getRecurrencePattern, getStartTime, getSubject, getText, getUniqueId, isAllDayEvent, isMultiDayEvent, isRecurring, match, setAllDayEvent, setEndTime, setImageRef, setLink, setPriority, setRecurrencePattern, setStartTime, setSubject, setText, setUniqueId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

checkState

private java.util.Map checkState
Checked Appointments

Constructor Detail

CheckableAppointmentImp

public CheckableAppointmentImp()
Creates a simple appointment


CheckableAppointmentImp

public CheckableAppointmentImp(java.lang.String id,
                               java.lang.String subject,
                               java.util.Calendar startTime,
                               java.util.Calendar endTime,
                               AppointmentPriority priority)
Creates a simple appointment

Parameters:
id - The unique Id of this appointment
subject - The Appointments Subject
startTime - Start Time
endTime - End Time or null
priority - Priority

CheckableAppointmentImp

public CheckableAppointmentImp(java.lang.String id,
                               java.lang.String subject,
                               java.util.Calendar startTime,
                               int duration,
                               AppointmentPriority priority)
Creates a simple appointment

Parameters:
id - The unique Id of this appointment
subject - The Appointments Subject
startTime - Start Time
duration - Duration
priority - Priority

CheckableAppointmentImp

public CheckableAppointmentImp(java.lang.String id,
                               java.lang.String subject,
                               java.util.Calendar startTime,
                               AppointmentPriority priority)
Creates a simple allday event

Parameters:
id - The unique Id of this appointment
subject - The Appointments Subject
startTime - Start Time
priority - Priority
Method Detail

getCheckState

public int getCheckState(long timeInMillis)
Description copied from interface: CheckableAppointment
Returns the check state of an object.

Specified by:
getCheckState in interface CheckableAppointment
Parameters:
timeInMillis - The Timestamp (for recurring appointments)
Returns:
int
See Also:
CheckableAppointment.getCheckState(long)

setCheckState

public void setCheckState(long timeInMillis,
                          int newState)
Description copied from interface: CheckableAppointment
Sets the check state of the object

Specified by:
setCheckState in interface CheckableAppointment
Parameters:
timeInMillis - The Timestamp (for recurring appointments)
newState - New state
See Also:
CheckableAppointment.setCheckState(long, int)


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.