com.compoze.collab.groupware
Interface  IAppointment
- All Superinterfaces: 
 - ICalendarItem, IGroupwareItem, IItem, IMessagingItem, java.io.Serializable
 
- All Known Subinterfaces: 
 - IExchangeAppointment, IMapiAppointment
 
- public interface IAppointment
- extends ICalendarItem
  
Represents an appointment in the groupware schema.
| 
Field Summary | 
static ItemClass | 
CLASS
 
          The ItemClass that represents an appointment. | 
 
| Fields inherited from interface com.compoze.collab.groupware.ICalendarItem | 
BUSY_STATUS, DURATION, END_TIME, IS_ALL_DAY, IS_RECURRING, KEYID_BUSY_STATUS, KEYID_DURATION, KEYID_END_TIME, KEYID_IS_ALL_DAY, KEYID_IS_RECURRING, KEYID_LOCATION, KEYID_START_TIME, LOCATION, START_TIME | 
 
| Fields inherited from interface com.compoze.collab.groupware.IGroupwareItem | 
CATEGORIES, DATE_CREATED, DATE_LAST_MODIFIED, IMPORTANCE, KEYID_CATEGORIES, KEYID_DATE_CREATED, KEYID_DATE_LAST_MODIFIED, KEYID_IMPORTANCE, KEYID_SIZE, KEYID_SUBJECT, SIZE, SUBJECT | 
 
 
 
| 
Method Summary | 
 void | 
cancel(java.lang.String sComment,
       boolean bSeries,
       boolean bSend,
       boolean bSaveInSent)
 
          Cancels the appointment, if appropriate. | 
 void | 
setAllDayEvent(boolean bAllDayEvent)
 
          Sets the appointment to appear as an all day event. | 
 void | 
setBusyStatus(BusyStatus busyStatus)
 
          Sets the busy status for this appointment. | 
 void | 
setDates(java.util.Date startTime,
         java.util.Date endTime)
 
          Sets the dates for the appointment. | 
 void | 
setLocation(java.lang.String sLocation)
 
          Sets the location of the appointment. | 
 
 
| Methods inherited from interface com.compoze.collab.groupware.IGroupwareItem | 
getBodyHtml, getBodyHtml, getCategories, getDateCreated, getDateLastModified, getImportance, getNormalizedSubject, getSize, getSubject, getSubject, getSubjectPrefix, setBodyHtml, setCategories, setImportance, setSubject | 
 
 
| Methods inherited from interface com.compoze.collab.IItem | 
commit, containsKey, containsKey, copyProperties, copyTo, delete, fetchProperties, getAttribute, getEnum, getID, getInputStream, getItemClass, getOutputStream, getParent, getParent, getParentID, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getReader, getRootContainer, getSession, getWriter, isMissing, moveTo, removeAttribute, removeProperty, setAttribute, setProperties, setProperty, setProperty, setProperty | 
 
CLASS
public static final ItemClass CLASS
- The ItemClass that represents an appointment.
 
setLocation
public void setLocation(java.lang.String sLocation)
                 throws CollaborationException
- Sets the location of the appointment.
 
- Parameters:
 sLocation - the location- Throws:
 CollaborationException - if there was an error setting the location
 
 
setDates
public void setDates(java.util.Date startTime,
                     java.util.Date endTime)
              throws CollaborationException
- Sets the dates for the appointment. Resets the All Day Event flag to
 
false.
 
- Parameters:
 startTime - the start date and timeendTime - the end date and time- Throws:
 CollaborationException - if there was an error setting the times- See Also: 
 ICalendarItem.IS_ALL_DAY
 
 
cancel
public void cancel(java.lang.String sComment,
                   boolean bSeries,
                   boolean bSend,
                   boolean bSaveInSent)
            throws CollaborationException
- Cancels the appointment, if appropriate.
 
- Parameters:
 sComment - the commentbSeries - true if cancelling the whole series (if recurring)bSend - true to send the cancellation noticebSaveInSent - true to save the cancellation, if sending- Throws:
 CollaborationException - if there was an error canceling the appointment
 
 
setAllDayEvent
public void setAllDayEvent(boolean bAllDayEvent)
                    throws CollaborationException
- Sets the appointment to appear as an all day event. Modifying this property
 affects the dates and times of an appointment.
 
- Parameters:
 bAllDayEvent - true if this appointment should become an
          all day event, false otherwise.- Throws:
 CollaborationException - if there was an error setting this appointment as
          an all day event.
 
 
setBusyStatus
public void setBusyStatus(BusyStatus busyStatus)
                   throws CollaborationException
- Sets the busy status for this appointment.
 
- Parameters:
 busyStatus - the busy statis to set on the appointment.- Throws:
 CollaborationException - if there was a problem setting the specified
          BusyStatus on the appointment.- See Also: 
 ICalendarItem.BUSY_STATUS
 
 
 Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.