Interface IExchangeAppointment
- All Superinterfaces:
IExchangeItem
Defines properties of an Exchange appointment and methods
to work with an appointment.
Usage example:
Date l_start = new Date();
Date l_end = new Date();
IExchangeAppointment l_apt =
ExchangeAppointmentUtil.createNewAppointment(l_start, l_end, "The Subject", "The description");
l_apt.setLocation("Freiburg"); //update some properties
l_apt.save(); //save the updated properties
l_apt.addAttachment(new File("attachment.txt")); // add an attachment
Create a meeting and send meeting requests:
IExchangeAppointment l_apt =
ExchangeAppointmentUtil.createNewMeeting(l_start, l_end, "The Subject", "The description",
"Freiburg", "attendee@example.org", true);
l_apt.sendMeetingRequest(); //send meeting requests to all attendees
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Cancels a meeting request.getBcc()
getBody()
getCc()
int
Returns the duration in seconds for Exchange 2003-2007.Returns the duration in the Exchange 2010 format.int
int
int
int
int
int
int
int
int
int
getSize()
getTo()
boolean
boolean
boolean
boolean
boolean
boolean
isRead()
boolean
boolean
boolean
void
Sends meeting requests to all meeting attendees.void
setAllDayEvent
(boolean p_bAllDayEvent) void
void
setBillingInfo
(String p_strBilling) void
void
setCalendarUID
(String p_strUid) void
void
setClipEnd
(Date p_dateClipEnd) void
setClipStart
(Date p_dateClipStart) void
setCompanies
(String p_strCompanies) void
setContact
(String p_strContact) void
setCreated
(Date p_dateCreated) void
setDisplayName
(String p_strDisplayName) void
setDuration
(int p_iDuration) Sets the duration in seconds for Exchange 2003-2007.void
setDuration2010
(String p_strDuration) Sets the duration in the Exchange 2010 format.void
setEndDate
(Date p_dateEnd) void
setFKAppointmentImportance
(int p_iKey) void
setFKBusyStatus
(int p_iStatus) void
setFKMeetingBusyStatus
(int p_iStatus) void
setFKMeetingStatus
(int p_iStatus) void
setFKPriority
(int p_iKey) void
setFKSensitivity
(int p_iKey) void
setFKTimeZoneID
(int p_iId) void
setHtmlDescription
(String p_strHtml) void
setLocation
(String p_strLocation) void
setMeetingRequest
(boolean p_bMeetingRequest) void
setMileAge
(String p_strMileAge) void
setOrganizer
(boolean p_bOrganizer) void
setOrganizerName
(String p_strOrganizer) void
setPrivate
(boolean p_bPrivate) void
setRead
(boolean p_bRead) void
setReminderOffset
(int p_iOffset) void
setReminderSet
(boolean p_bReminder) void
setReminderTime
(Date p_dateReminder) void
setResponseRequested
(boolean p_bRequested) void
setStampDate
(Date p_dateStamp) void
setStartDate
(Date p_dateStart) void
setTimezone
(String p_strTimezone) void
void
setUnicodeSubject
(String p_strSubject) Methods inherited from interface de.uplanet.lucy.server.businesslogic.exchange.util.IExchangeItem
addAttachment, addAttachment, addCategory, delete, getAttachments, getCategories, getFolderHref, getHref, getId, getItemLink, getPermanentUrl, getSubject, getUserDefinedFieldValue, removeAttachment, removeCategory, save, setSubject, setUserDefinedFieldValue
-
Method Details
-
isAllDayEvent
boolean isAllDayEvent() -
setAllDayEvent
void setAllDayEvent(boolean p_bAllDayEvent) -
getFKMeetingBusyStatus
int getFKMeetingBusyStatus() -
setFKMeetingBusyStatus
void setFKMeetingBusyStatus(int p_iStatus) -
getCompanies
String getCompanies() -
setCompanies
-
getContact
String getContact() -
setContact
-
getCreated
Date getCreated() -
setCreated
-
getStartDate
Date getStartDate() -
setStartDate
-
getEndDate
Date getEndDate() -
setEndDate
-
getClipStart
Date getClipStart() -
setClipStart
-
getClipEnd
Date getClipEnd() -
setClipEnd
-
getStampDate
Date getStampDate() -
setStampDate
-
getDuration
int getDuration()Returns the duration in seconds for Exchange 2003-2007.- Returns:
- The duration in seconds for Exchange 2003-2007.
-
setDuration
void setDuration(int p_iDuration) Sets the duration in seconds for Exchange 2003-2007. -
getDuration2010
String getDuration2010()Returns the duration in the Exchange 2010 format.- Returns:
- The duration in the Exchange 2010 format.
-
setDuration2010
Sets the duration in the Exchange 2010 format. -
hasAttachment
boolean hasAttachment() -
isMeetingRequest
boolean isMeetingRequest() -
setMeetingRequest
void setMeetingRequest(boolean p_bMeetingRequest) -
getLastModifiedTimeStamp
Date getLastModifiedTimeStamp() -
getLocation
String getLocation() -
setLocation
-
getFKPriority
int getFKPriority() -
setFKPriority
void setFKPriority(int p_iKey) -
getReminderOffset
int getReminderOffset() -
setReminderOffset
void setReminderOffset(int p_iOffset) -
getReplyTime
Date getReplyTime() -
isResponseRequested
boolean isResponseRequested() -
setResponseRequested
void setResponseRequested(boolean p_bRequested) -
getUnicodeSubject
String getUnicodeSubject() -
setUnicodeSubject
-
getTimezone
String getTimezone() -
setTimezone
-
getCalendarUID
String getCalendarUID() -
setCalendarUID
-
getAllAttendees
String getAllAttendees() -
getReminderTime
Date getReminderTime() -
setReminderTime
-
isReminderSet
boolean isReminderSet() -
setReminderSet
void setReminderSet(boolean p_bReminder) -
isOrganizer
boolean isOrganizer() -
setOrganizer
void setOrganizer(boolean p_bOrganizer) -
getOrganizerName
String getOrganizerName() -
setOrganizerName
-
getTo
String getTo() -
setTo
-
getCc
String getCc() -
setCc
-
getBcc
String getBcc() -
setBcc
-
isRecurring
boolean isRecurring() -
getFKBusyStatus
int getFKBusyStatus() -
setFKBusyStatus
void setFKBusyStatus(int p_iStatus) -
getFKMeetingStatus
int getFKMeetingStatus() -
setFKMeetingStatus
void setFKMeetingStatus(int p_iStatus) -
getFKResponseStatus
int getFKResponseStatus() -
getFKTimeZoneID
int getFKTimeZoneID() -
setFKTimeZoneID
void setFKTimeZoneID(int p_iId) -
getFKAppointmentImportance
int getFKAppointmentImportance() -
setFKAppointmentImportance
void setFKAppointmentImportance(int p_iKey) -
getMethod
String getMethod() -
getMessageClass
String getMessageClass() -
getBody
String getBody() -
setBody
-
getHtmlDescription
String getHtmlDescription() -
setHtmlDescription
-
getSize
int getSize() -
getContentClass
String getContentClass() -
getCreationDate
Date getCreationDate() -
getDisplayName
String getDisplayName() -
setDisplayName
-
getLastModified
Date getLastModified() -
isRead
boolean isRead() -
setRead
void setRead(boolean p_bRead) -
getMileAge
String getMileAge() -
setMileAge
-
getBillingInfo
String getBillingInfo() -
setBillingInfo
-
isPrivate
boolean isPrivate() -
setPrivate
void setPrivate(boolean p_bPrivate) -
getFKSensitivity
int getFKSensitivity() -
setFKSensitivity
void setFKSensitivity(int p_iKey) -
getFKUserMailboxEmail
String getFKUserMailboxEmail() -
sendMeetingRequest
void sendMeetingRequest() throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilExceptionSends meeting requests to all meeting attendees.- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
- If request could not be sent.
-
cancelMeeting
void cancelMeeting() throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilExceptionCancels a meeting request.- Throws:
de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
- If meeting could not be canceled.
-