public class AppointmentData extends java.lang.Object implements IAppointmentData
Constructor and Description |
---|
AppointmentData() |
Modifier and Type | Method and Description |
---|---|
void |
addRecipient(IRecipient recipient)
Add a participant of the appointment/meeting
|
int |
compareTo(java.lang.Object o) |
java.lang.String |
getBody()
Returns additional appointment/meeting information
|
int |
getDuration()
Returns the planned duration of the appointment/meeting
|
java.lang.String |
getId()
Returns the external identifier
|
java.lang.String |
getLocation()
Returns the location of the appointment/meeting
|
int |
getParticipationStatus()
Returns the participation status of the user (Constants declared in com.llwork.external.IConstants)
|
IRecipient[] |
getRecipients()
Returns the participants of the appointment/meeting
|
java.util.Date |
getStart()
Returns the start date and time
|
java.lang.String |
getSubject()
Returns the subject
|
boolean |
hasAttachments()
Returns if there are any attachments
|
boolean |
isAllDay()
Is startdate without time so valid for the full day
|
void |
setAllDay(boolean allDay)
Sets if startdate is without time so valid for the full day
|
void |
setBody(java.lang.String body)
Sets additional appointment/meeting information
|
void |
setDuration(int minutes)
Sets the planned duration in minutes of the appointment/meeting
|
void |
setHasAttachments(boolean hasAttachments)
Sets if there are any attachment
|
void |
setId(java.lang.String id)
Sets the external identifier
|
void |
setLocation(java.lang.String string)
Sets the location of the appointment/meeting
|
void |
setParticipationStatus(int participationStatus)
Sets the participation status of the user (Constants declared in com.llwork.external.IConstants)
|
void |
setStart(java.util.Date date)
Sets the start date and time
|
void |
setSubject(java.lang.String subject)
Sets subject
|
public java.lang.String getId()
IExternalData
getId
in interface IExternalData
public void setId(java.lang.String id)
IExternalData
setId
in interface IExternalData
id
- external identifierpublic java.lang.String getBody()
IAppointmentData
getBody
in interface IAppointmentData
public void setBody(java.lang.String body)
IAppointmentData
setBody
in interface IAppointmentData
body
- additional informationpublic java.lang.String getSubject()
IAppointmentData
getSubject
in interface IAppointmentData
public void setSubject(java.lang.String subject)
IAppointmentData
setSubject
in interface IAppointmentData
subject
- subjectpublic java.lang.String getLocation()
IAppointmentData
getLocation
in interface IAppointmentData
public void setLocation(java.lang.String string)
IAppointmentData
setLocation
in interface IAppointmentData
string
- the locationpublic java.util.Date getStart()
IAppointmentData
getStart
in interface IAppointmentData
public void setStart(java.util.Date date)
IAppointmentData
setStart
in interface IAppointmentData
date
- the start date and timepublic int getDuration()
IAppointmentData
getDuration
in interface IAppointmentData
public void setDuration(int minutes)
IAppointmentData
setDuration
in interface IAppointmentData
minutes
- the planned duration in minutespublic IRecipient[] getRecipients()
IAppointmentData
getRecipients
in interface IAppointmentData
public void addRecipient(IRecipient recipient)
IAppointmentData
addRecipient
in interface IAppointmentData
recipient
- the participantspublic int getParticipationStatus()
IAppointmentData
getParticipationStatus
in interface IAppointmentData
public void setParticipationStatus(int participationStatus)
IAppointmentData
setParticipationStatus
in interface IAppointmentData
participationStatus
- ParticipationStatus to setpublic boolean hasAttachments()
IAppointmentData
hasAttachments
in interface IAppointmentData
public void setHasAttachments(boolean hasAttachments)
IAppointmentData
setHasAttachments
in interface IAppointmentData
hasAttachments
- is there any attachmentpublic boolean isAllDay()
IAppointmentData
isAllDay
in interface IAppointmentData
public void setAllDay(boolean allDay)
IAppointmentData
setAllDay
in interface IAppointmentData
allDay
- startdate without time so valid for the full daypublic int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable<java.lang.Object>