de.uplanet.lucy.server.businesslogic.exchange.util
Interface IExchangeAppointment

All Superinterfaces:
IExchangeItem

@Scriptable
public interface IExchangeAppointment
extends 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

Version:
$Revision: 89488 $

Method Summary
 void cancelMeeting()
          Cancels a meeting request.
 java.lang.String getAllAttendees()
           
 java.lang.String getBcc()
           
 java.lang.String getBillingInfo()
           
 java.lang.String getBody()
           
 java.lang.String getCalendarUID()
           
 java.lang.String getCc()
           
 java.util.Date getClipEnd()
           
 java.util.Date getClipStart()
           
 java.lang.String getCompanies()
           
 java.lang.String getContact()
           
 java.lang.String getContentClass()
           
 java.util.Date getCreated()
           
 java.util.Date getCreationDate()
           
 java.lang.String getDisplayName()
           
 int getDuration()
           
 java.util.Date getEndDate()
           
 int getFKAppointmentImportance()
           
 int getFKBusyStatus()
           
 int getFKMeetingBusyStatus()
           
 int getFKMeetingStatus()
           
 int getFKPriority()
           
 int getFKResponseStatus()
           
 int getFKSensitivity()
           
 int getFKTimeZoneID()
           
 java.lang.String getFKUserMailboxEmail()
           
 java.lang.String getHtmlDescription()
           
 java.util.Date getLastModified()
           
 java.util.Date getLastModifiedTimeStamp()
           
 java.lang.String getLocation()
           
 java.lang.String getMessageClass()
           
 java.lang.String getMethod()
           
 java.lang.String getMileAge()
           
 java.lang.String getOrganizerName()
           
 int getReminderOffset()
           
 java.util.Date getReminderTime()
           
 java.util.Date getReplyTime()
           
 int getSize()
           
 java.util.Date getStampDate()
           
 java.util.Date getStartDate()
           
 java.lang.String getTimezone()
           
 java.lang.String getTo()
           
 java.lang.String getUnicodeSubject()
           
 boolean hasAttachment()
           
 boolean isAllDayEvent()
           
 boolean isMeetingRequest()
           
 boolean isOrganizer()
           
 boolean isPrivate()
           
 boolean isRead()
           
 boolean isRecurring()
           
 boolean isReminderSet()
           
 boolean isResponseRequested()
           
 void sendMeetingRequest()
          Sends meeting requests to all meeting attendees.
 void setAllDayEvent(boolean p_bAllDayEvent)
           
 void setBcc(java.lang.String p_strBcc)
           
 void setBillingInfo(java.lang.String p_strBilling)
           
 void setBody(java.lang.String p_strBody)
           
 void setCalendarUID(java.lang.String p_strUid)
           
 void setCc(java.lang.String p_strCc)
           
 void setClipEnd(java.util.Date p_dateClipEnd)
           
 void setClipStart(java.util.Date p_dateClipStart)
           
 void setCompanies(java.lang.String p_strCompanies)
           
 void setContact(java.lang.String p_strContact)
           
 void setCreated(java.util.Date p_dateCreated)
           
 void setDisplayName(java.lang.String p_strDisplayName)
           
 void setDuration(int p_iDuration)
           
 void setEndDate(java.util.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(java.lang.String p_strHtml)
           
 void setLocation(java.lang.String p_strLocation)
           
 void setMeetingRequest(boolean p_bMeetingRequest)
           
 void setMileAge(java.lang.String p_strMileAge)
           
 void setOrganizer(boolean p_bOrganizer)
           
 void setOrganizerName(java.lang.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(java.util.Date p_dateReminder)
           
 void setResponseRequested(boolean p_bRequested)
           
 void setStampDate(java.util.Date p_dateStamp)
           
 void setStartDate(java.util.Date p_dateStart)
           
 void setTimezone(java.lang.String p_strTimezone)
           
 void setTo(java.lang.String p_strTo)
           
 void setUnicodeSubject(java.lang.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 Detail

isAllDayEvent

boolean isAllDayEvent()

setAllDayEvent

void setAllDayEvent(boolean p_bAllDayEvent)

getFKMeetingBusyStatus

int getFKMeetingBusyStatus()

setFKMeetingBusyStatus

void setFKMeetingBusyStatus(int p_iStatus)

getCompanies

java.lang.String getCompanies()

setCompanies

void setCompanies(java.lang.String p_strCompanies)

getContact

java.lang.String getContact()

setContact

void setContact(java.lang.String p_strContact)

getCreated

java.util.Date getCreated()

setCreated

void setCreated(java.util.Date p_dateCreated)

getStartDate

java.util.Date getStartDate()

setStartDate

void setStartDate(java.util.Date p_dateStart)

getEndDate

java.util.Date getEndDate()

setEndDate

void setEndDate(java.util.Date p_dateEnd)

getClipStart

java.util.Date getClipStart()

setClipStart

void setClipStart(java.util.Date p_dateClipStart)

getClipEnd

java.util.Date getClipEnd()

setClipEnd

void setClipEnd(java.util.Date p_dateClipEnd)

getStampDate

java.util.Date getStampDate()

setStampDate

void setStampDate(java.util.Date p_dateStamp)

getDuration

int getDuration()

setDuration

void setDuration(int p_iDuration)

hasAttachment

boolean hasAttachment()

isMeetingRequest

boolean isMeetingRequest()

setMeetingRequest

void setMeetingRequest(boolean p_bMeetingRequest)

getLastModifiedTimeStamp

java.util.Date getLastModifiedTimeStamp()

getLocation

java.lang.String getLocation()

setLocation

void setLocation(java.lang.String p_strLocation)

getFKPriority

int getFKPriority()

setFKPriority

void setFKPriority(int p_iKey)

getReminderOffset

int getReminderOffset()

setReminderOffset

void setReminderOffset(int p_iOffset)

getReplyTime

java.util.Date getReplyTime()

isResponseRequested

boolean isResponseRequested()

setResponseRequested

void setResponseRequested(boolean p_bRequested)

getUnicodeSubject

java.lang.String getUnicodeSubject()

setUnicodeSubject

void setUnicodeSubject(java.lang.String p_strSubject)

getTimezone

java.lang.String getTimezone()

setTimezone

void setTimezone(java.lang.String p_strTimezone)

getCalendarUID

java.lang.String getCalendarUID()

setCalendarUID

void setCalendarUID(java.lang.String p_strUid)

getAllAttendees

java.lang.String getAllAttendees()

getReminderTime

java.util.Date getReminderTime()

setReminderTime

void setReminderTime(java.util.Date p_dateReminder)

isReminderSet

boolean isReminderSet()

setReminderSet

void setReminderSet(boolean p_bReminder)

isOrganizer

boolean isOrganizer()

setOrganizer

void setOrganizer(boolean p_bOrganizer)

getOrganizerName

java.lang.String getOrganizerName()

setOrganizerName

void setOrganizerName(java.lang.String p_strOrganizer)

getTo

java.lang.String getTo()

setTo

void setTo(java.lang.String p_strTo)

getCc

java.lang.String getCc()

setCc

void setCc(java.lang.String p_strCc)

getBcc

java.lang.String getBcc()

setBcc

void setBcc(java.lang.String p_strBcc)

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

java.lang.String getMethod()

getMessageClass

java.lang.String getMessageClass()

getBody

java.lang.String getBody()

setBody

void setBody(java.lang.String p_strBody)

getHtmlDescription

java.lang.String getHtmlDescription()

setHtmlDescription

void setHtmlDescription(java.lang.String p_strHtml)

getSize

int getSize()

getContentClass

java.lang.String getContentClass()

getCreationDate

java.util.Date getCreationDate()

getDisplayName

java.lang.String getDisplayName()

setDisplayName

void setDisplayName(java.lang.String p_strDisplayName)

getLastModified

java.util.Date getLastModified()

isRead

boolean isRead()

setRead

void setRead(boolean p_bRead)

getMileAge

java.lang.String getMileAge()

setMileAge

void setMileAge(java.lang.String p_strMileAge)

getBillingInfo

java.lang.String getBillingInfo()

setBillingInfo

void setBillingInfo(java.lang.String p_strBilling)

isPrivate

boolean isPrivate()

setPrivate

void setPrivate(boolean p_bPrivate)

getFKSensitivity

int getFKSensitivity()

setFKSensitivity

void setFKSensitivity(int p_iKey)

getFKUserMailboxEmail

java.lang.String getFKUserMailboxEmail()

sendMeetingRequest

void sendMeetingRequest()
                        throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Sends meeting requests to all meeting attendees.

Throws:
ExchangeUtilException - If request could not be sent.

cancelMeeting

void cancelMeeting()
                   throws de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUtilException
Cancels a meeting request.

Throws:
ExchangeUtilException - If meeting could not be cancelled.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.