microsoft.exchange.webservices.data
Class Appointment

java.lang.Object
  extended by microsoft.exchange.webservices.data.ServiceObject
      extended by microsoft.exchange.webservices.data.Item
          extended by microsoft.exchange.webservices.data.Appointment

public class Appointment
extends Item

Represents an appointment or a meeting. Properties available on appointments are defined in the AppointmentSchema class.


Constructor Summary
  Appointment(ExchangeService service)
          Initializes an unsaved local instance of Appointment".
protected Appointment(ItemAttachment parentAttachment, boolean isNew)
          Initializes a new instance of Appointment.
 
Method Summary
 CalendarActionResults accept(boolean sendResponse)
          Accepts the meeting.
 CalendarActionResults acceptTentatively(boolean sendResponse)
          Tentatively accepts the meeting.
static Appointment bind(ExchangeService service, ItemId id)
          Binds to an existing appointment and loads its first class properties.
static Appointment bind(ExchangeService service, ItemId id, PropertySet propertySet)
          Binds to an existing appointment and loads the specified set of properties.
static Appointment bindToOccurrence(ExchangeService service, ItemId recurringMasterId, int occurenceIndex)
          Binds to an existing appointment and loads its first class properties.
static Appointment bindToOccurrence(ExchangeService service, ItemId recurringMasterId, int occurenceIndex, PropertySet propertySet)
          Binds to an existing appointment and loads its first class properties.
static Appointment bindToRecurringMaster(ExchangeService service, ItemId occurrenceId)
          Binds to the master appointment of a recurring series and loads its first class properties.
static Appointment bindToRecurringMaster(ExchangeService service, ItemId occurrenceId, PropertySet propertySet)
          Binds to the master appointment of a recurring series and loads its first class properties.
 CalendarActionResults cancelMeeting()
          Cancels the meeting and sends cancellation messages to all attendees.
 CalendarActionResults cancelMeeting(java.lang.String cancellationMessageText)
          Cancels the meeting and sends cancellation messages to all attendees.
 AcceptMeetingInvitationMessage createAcceptMessage(boolean tentative)
          Creates a local meeting acceptance message that can be customized and sent.
 CancelMeetingMessage createCancelMeetingMessage()
          Creates a local meeting acceptance message that can be customized and sent.
 DeclineMeetingInvitationMessage createDeclineMessage()
          Creates a local meeting declination message that can be customized and sent.
 ResponseMessage createForward()
          Creates a forward message from this appointment.
 ResponseMessage createReply(boolean replyAll)
          Creates a reply response to the organizer and/or attendees of the meeting.
 CalendarActionResults decline(boolean sendResponse)
          Declines the meeting invitation.
 void delete(DeleteMode deleteMode, SendCancellationsMode sendCancellationsMode)
          Deletes this appointment.
 void forward(MessageBody bodyPrefix, EmailAddress... toRecipients)
          Forwards the appointment.
 void forward(MessageBody bodyPrefix, java.lang.Iterable<EmailAddress> toRecipients)
          Forwards the appointment.
 java.util.Date gaetICalDateTimeStmp()
          Gets the ICalendar DateTimeStamp.
 java.lang.Integer getAdjacentMeetingCount()
          Gets the number of calendar entries that are adjacent to this appointment in the authenticated user's calendar.
 ItemCollection<Appointment> getAdjacentMeetings()
          Gets a list of meetings that conflict with this appointment in the authenticated user's calendar.
 java.lang.Boolean getAllowNewTimeProposal()
          Gets a value indicating whether new time proposals are allowed for attendees of this meeting.
 java.util.Date getAppointmentReplyTime()
          Gets the time when the attendee replied to the meeting request.
 java.lang.Integer getAppointmentSequenceNumber()
          Gets the sequence number of this appointment.
 java.lang.Integer getAppointmentState()
          Gets the state of this appointment.
 AppointmentType getAppointmentType()
          Gets a value indicating the type of this appointment.
 java.lang.Integer getConferenceType()
          Gets the type of conferencing that will be used during the meeting.
 java.lang.Integer getConflictingMeetingCount()
          Gets the number of calendar entries that conflict with this appointment in the authenticated user's calendar.
 ItemCollection<Appointment> getConflictingMeetings()
          Gets a list of meetings that conflict with this appointment in the authenticated user's calendar.
protected  SendCancellationsMode getDefaultSendCancellationsMode()
          Gets the default setting for sending cancellations on Delete.
protected  SendInvitationsMode getDefaultSendInvitationsMode()
          Gets the default settings for sending invitations on Save.
protected  SendInvitationsOrCancellationsMode getDefaultSendInvitationsOrCancellationsMode()
          Gets the default settings for sending invitations on Save.
 DeletedOccurrenceInfoCollection getDeletedOccurrences()
          Gets a list of deleted occurrences for this meeting.
 TimeSpan getDuration()
          Gets the duration of this appointment.
 java.util.Date getEnd()
          Gets or sets the end time of the appointment.
 TimeZoneDefinition getEndTimeZone()
          Gets the start time zone.
 OccurrenceInfo getFirstOccurrence()
          Gets an OccurrenceInfo identifying the first occurrence of this meeting.
 java.util.Date getICalRecurrenceId()
          Gets the ICalendar RecurrenceId.
 java.lang.String getICalUid()
          Gets the ICalendar Uid.
 java.lang.Boolean getIsAllDayEvent()
          Gets a value indicating whether this appointment is an all day event.
 java.lang.Boolean getIsCancelled()
          Gets a value indicating whether the appointment has been cancelled.
protected  boolean getIsCustomDateTimeScopingRequired()
          Determines whether properties defined with ScopedDateTimePropertyDefinition require custom time zone scoping.
 java.lang.Boolean getIsMeeting()
          Gets a value indicating whether the appointment is a meeting.
 java.lang.Boolean getIsOnlineMeeting()
          Gets a value indicating whether this is an online meeting.
 java.lang.Boolean getIsRecurring()
          Gets a value indicating whether the appointment is recurring.
 java.lang.Boolean getIsResponseRequested()
          Gets a value indicating whether responses are requested when invitations are sent for this meeting.
 OccurrenceInfo getLastOccurrence()
          Gets an OccurrenceInfo identifying the first occurrence of this meeting.
 LegacyFreeBusyStatus getLegacyFreeBusyStatus()
          Gets a value indicating the free/busy status of the owner of this appointment.
 java.lang.String getLocation()
          Gets the location of this appointment.
 java.lang.Boolean getMeetingRequestWasSent()
          Gets a value indicating whether the meeting request has already been sent.
 java.lang.String getMeetingWorkspaceUrl()
          Gets the URL of the meeting workspace.
protected  ExchangeVersion getMinimumRequiredServerVersion()
          Gets the minimum required server version.
 OccurrenceInfoCollection getModifiedOccurrences()
          Gets a list of modified occurrences for this meeting.
 MeetingResponseType getMyResponseType()
          Gets a value indicating what was the last response of the user that loaded this meeting.
 java.lang.String getNetShowUrl()
          Gets the URL of the Microsoft NetShow online meeting.
 AttendeeCollection getOptionalAttendees()
          Gets a list of optional attendeed for this meeting.
 EmailAddress getOrganizer()
          Gets the organizer of this meeting.
 java.util.Date getOriginalStart()
          Gets the original start time of this appointment.
 Recurrence getRecurrence()
          Gets the recurrence pattern for this appointment.
 AttendeeCollection getRequiredAttendees()
          Gets a list of required attendees for this meeting.
 AttendeeCollection getResources()
          Gets a list of resources for this meeting.
protected  ServiceObjectSchema getSchema()
          Internal method to return the schema associated with this type of object.
 java.util.Date getStart()
          Gets the start time of the appointment.
 TimeZoneDefinition getStartTimeZone()
          Gets the start time zone.
 java.lang.String getTimeZone()
          Gets the name of the time zone this appointment is defined in.
 java.lang.String getWhen()
          Gets a text indicating when this appointment occurs.
protected  CalendarActionResults internalAccept(boolean tentative, boolean sendResponse)
          Accepts the meeting.
 void reply(MessageBody bodyPrefix, boolean replyAll)
          Replies to the organizer and/or the attendees of the meeting.
 void save(FolderId destinationFolderId, SendInvitationsMode sendInvitationsMode)
          Saves this appointment in the specified folder.
 void save(SendInvitationsMode sendInvitationsMode)
          Saves this appointment in the Calendar folder.
 void save(WellKnownFolderName destinationFolderName, SendInvitationsMode sendInvitationsMode)
          Saves this appointment in the specified folder.
 void setAllowNewTimeProposal(java.lang.Boolean value)
          Sets the allow new time proposal.
 void setConferenceType(java.lang.Integer value)
          Sets the conference type.
 void setEnd(java.util.Date value)
          Sets the end.
 void setEndTimeZone(TimeZoneDefinition value)
          Sets the start time zone.
 void setICalUid(java.lang.String value)
          Sets the ICalendar Uid.
 void setIsAllDayEvent(java.lang.Boolean value)
          Sets the checks if is all day event.
 void setIsOnlineMeeting(java.lang.Boolean value)
          Sets the checks if is online meeting.
 void setIsResponseRequested(java.lang.Boolean value)
          Sets the checks if is response requested.
 void setLegacyFreeBusyStatus(LegacyFreeBusyStatus value)
          Sets the legacy free busy status.
 void setLocation(java.lang.String value)
          Sets the location.
 void setMeetingWorkspaceUrl(java.lang.String value)
          Sets the meeting workspace url.
 void setNetShowUrl(java.lang.String value)
          Sets the net show url.
 void setRecurrence(Recurrence value)
          Sets the recurrence.
 void setStart(java.util.Date value)
          Sets the start.
 void setStartTimeZone(TimeZoneDefinition value)
          Sets the start time zone.
 void update(ConflictResolutionMode conflictResolutionMode, SendInvitationsOrCancellationsMode sendInvitationsOrCancellationsMode)
          Applies the local changes that have been made to this appointment.
protected  void validate()
          Validates this instance.
 
Methods inherited from class microsoft.exchange.webservices.data.Item
copy, copy, delete, getAllowedResponseActions, getAttachments, getBody, getCategories, getConversationId, getCulture, getDateTimeCreated, getDateTimeReceived, getDateTimeSent, getDefaultAffectedTaskOccurrences, getDisplayCc, getDisplayTo, getEffectiveRights, getExtendedProperties, getHasAttachments, getId, getIdPropertyDefinition, getImportance, getInReplyTo, getInternetMessageHeaders, getIsAssociated, getIsDraft, getIsFromMe, getIsNew, getIsReminderSet, getIsResend, getIsSubmitted, getIsTimeZoneHeaderRequired, getIsUnmodified, getItemClass, getLastModifiedName, getLastModifiedTime, getMimeContent, getParentAttachment, getParentFolderId, getReminderDueBy, getReminderMinutesBeforeStart, getRootItemId, getSensitivity, getSize, getSubject, getUniqueBody, getWebClientEditFormQueryString, getWebClientReadFormQueryString, hasUnprocessedAttachmentChanges, internalCreate, internalDelete, internalLoad, internalUpdate, isAttachment, move, move, removeExtendedProperty, save, save, save, setBody, setCategories, setCulture, setExtendedProperty, setImportance, setInReplyTo, setIsReminderSet, setItemClass, setMimeContent, setReminderDueBy, setReminderMinutesBeforeStart, setSensitivity, setSubject, setSubject, throwIfThisIsAttachment, update
 
Methods inherited from class microsoft.exchange.webservices.data.ServiceObject
addServiceObjectChangedEvent, changed, clearChangeLog, clearServiceObjectChangedEvent, getChangeXmlElementName, getDeleteFieldXmlElementName, getLoadedPropertyDefinitions, getObjectFromPropertyDefinition, getPropertyBag, getService, getSetFieldXmlElementName, getXmlElementName, getXmlElementNameOverride, isDirty, isNew, load, load, loadFromXml, loadFromXml, removeServiceObjectChangedEvent, schema, setService, throwIfThisIsNew, throwIfThisIsNotNew, tryGetExtendedProperty, tryGetProperty, tryGetProperty, writeToXml, writeToXmlForUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Appointment

public Appointment(ExchangeService service)
            throws java.lang.Exception
Initializes an unsaved local instance of Appointment". To bind to an existing appointment, use Appointment.Bind() instead.

Parameters:
service - The ExchangeService instance to which this appointmtnt is bound.
Throws:
java.lang.Exception - the exception

Appointment

protected Appointment(ItemAttachment parentAttachment,
                      boolean isNew)
               throws java.lang.Exception
Initializes a new instance of Appointment.

Parameters:
parentAttachment - the parent attachment
isNew - If true, attachment is new.
Throws:
java.lang.Exception - the exception
Method Detail

bind

public static Appointment bind(ExchangeService service,
                               ItemId id,
                               PropertySet propertySet)
                        throws java.lang.Exception
Binds to an existing appointment and loads the specified set of properties. Calling this method results in a call to EWS.

Parameters:
service - the service
id - the id
propertySet - the property set
Returns:
An Appointment instance representing the appointment corresponding to the specified Id.
Throws:
java.lang.Exception - the exception

bind

public static Appointment bind(ExchangeService service,
                               ItemId id)
                        throws java.lang.Exception
Binds to an existing appointment and loads its first class properties. Calling this method results in a call to EWS.

Parameters:
service - the service
id - the id
Returns:
An Appointment instance representing the appointment corresponding to the specified Id.
Throws:
java.lang.Exception - the exception

bindToOccurrence

public static Appointment bindToOccurrence(ExchangeService service,
                                           ItemId recurringMasterId,
                                           int occurenceIndex)
                                    throws java.lang.Exception
Binds to an existing appointment and loads its first class properties. Calling this method results in a call to EWS.

Parameters:
service - the service
recurringMasterId - the recurring master id
occurenceIndex - the occurence index
Returns:
An Appointment instance representing the appointment corresponding to the specified Id.
Throws:
java.lang.Exception - the exception

bindToOccurrence

public static Appointment bindToOccurrence(ExchangeService service,
                                           ItemId recurringMasterId,
                                           int occurenceIndex,
                                           PropertySet propertySet)
                                    throws java.lang.Exception
Binds to an existing appointment and loads its first class properties. Calling this method results in a call to EWS.

Parameters:
service - the service
recurringMasterId - the recurring master id
occurenceIndex - the occurence index
propertySet - the property set
Returns:
An Appointment instance representing the appointment corresponding to the specified Id.
Throws:
java.lang.Exception - the exception

bindToRecurringMaster

public static Appointment bindToRecurringMaster(ExchangeService service,
                                                ItemId occurrenceId)
                                         throws java.lang.Exception
Binds to the master appointment of a recurring series and loads its first class properties. Calling this method results in a call to EWS.

Parameters:
service - the service
occurrenceId - the occurrence id
Returns:
An Appointment instance representing the appointment corresponding to the specified Id.
Throws:
java.lang.Exception - the exception

bindToRecurringMaster

public static Appointment bindToRecurringMaster(ExchangeService service,
                                                ItemId occurrenceId,
                                                PropertySet propertySet)
                                         throws java.lang.Exception
Binds to the master appointment of a recurring series and loads its first class properties. Calling this method results in a call to EWS.

Parameters:
service - the service
occurrenceId - the occurrence id
propertySet - the property set
Returns:
An Appointment instance representing the appointment corresponding to the specified Id.
Throws:
java.lang.Exception - the exception

getSchema

protected ServiceObjectSchema getSchema()
Internal method to return the schema associated with this type of object.

Overrides:
getSchema in class Item
Returns:
The schema associated with this type of object

getMinimumRequiredServerVersion

protected ExchangeVersion getMinimumRequiredServerVersion()
Gets the minimum required server version.

Overrides:
getMinimumRequiredServerVersion in class Item
Returns:
Earliest Exchange version in which this service object type is supported.

getIsCustomDateTimeScopingRequired

protected boolean getIsCustomDateTimeScopingRequired()
Determines whether properties defined with ScopedDateTimePropertyDefinition require custom time zone scoping.

Overrides:
getIsCustomDateTimeScopingRequired in class ServiceObject
Returns:
if this item type requires custom scoping for scoped date/time properties; otherwise, .

validate

protected void validate()
                 throws java.lang.Exception
Validates this instance.

Overrides:
validate in class Item
Throws:
java.lang.Exception

createReply

public ResponseMessage createReply(boolean replyAll)
                            throws java.lang.Exception
Creates a reply response to the organizer and/or attendees of the meeting.

Parameters:
replyAll - the reply all
Returns:
A ResponseMessage representing the reply response that can subsequently be modified and sent.
Throws:
java.lang.Exception - the exception

reply

public void reply(MessageBody bodyPrefix,
                  boolean replyAll)
           throws java.lang.Exception
Replies to the organizer and/or the attendees of the meeting. Calling this method results in a call to EWS.

Parameters:
bodyPrefix - the body prefix
replyAll - the reply all
Throws:
java.lang.Exception - the exception

createForward

public ResponseMessage createForward()
                              throws java.lang.Exception
Creates a forward message from this appointment.

Returns:
A ResponseMessage representing the forward response that can subsequently be modified and sent.
Throws:
java.lang.Exception - the exception

forward

public void forward(MessageBody bodyPrefix,
                    EmailAddress... toRecipients)
             throws java.lang.Exception
Forwards the appointment. Calling this method results in a call to EWS.

Parameters:
bodyPrefix - the body prefix
toRecipients - the to recipients
Throws:
java.lang.Exception - the exception

forward

public void forward(MessageBody bodyPrefix,
                    java.lang.Iterable<EmailAddress> toRecipients)
             throws java.lang.Exception
Forwards the appointment. Calling this method results in a call to EWS.

Parameters:
bodyPrefix - the body prefix
toRecipients - the to recipients
Throws:
java.lang.Exception - the exception

save

public void save(WellKnownFolderName destinationFolderName,
                 SendInvitationsMode sendInvitationsMode)
          throws java.lang.Exception
Saves this appointment in the specified folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.

Parameters:
destinationFolderName - the destination folder name
sendInvitationsMode - the send invitations mode
Throws:
java.lang.Exception - the exception

save

public void save(FolderId destinationFolderId,
                 SendInvitationsMode sendInvitationsMode)
          throws java.lang.Exception
Saves this appointment in the specified folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.

Parameters:
destinationFolderId - the destination folder id
sendInvitationsMode - the send invitations mode
Throws:
java.lang.Exception - the exception

save

public void save(SendInvitationsMode sendInvitationsMode)
          throws java.lang.Exception
Saves this appointment in the Calendar folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.

Parameters:
sendInvitationsMode - the send invitations mode
Throws:
java.lang.Exception - the exception

update

public void update(ConflictResolutionMode conflictResolutionMode,
                   SendInvitationsOrCancellationsMode sendInvitationsOrCancellationsMode)
            throws java.lang.Exception
Applies the local changes that have been made to this appointment. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added or removed.

Parameters:
conflictResolutionMode - the conflict resolution mode
sendInvitationsOrCancellationsMode - the send invitations or cancellations mode
Throws:
java.lang.Exception - the exception

delete

public void delete(DeleteMode deleteMode,
                   SendCancellationsMode sendCancellationsMode)
            throws java.lang.Exception
Deletes this appointment. Calling this method results in a call to EWS.

Parameters:
deleteMode - the delete mode
sendCancellationsMode - the send cancellations mode
Throws:
java.lang.Exception - the exception

createAcceptMessage

public AcceptMeetingInvitationMessage createAcceptMessage(boolean tentative)
                                                   throws java.lang.Exception
Creates a local meeting acceptance message that can be customized and sent.

Parameters:
tentative - the tentative
Returns:
An AcceptMeetingInvitationMessage representing the meeting acceptance message.
Throws:
java.lang.Exception - the exception

createCancelMeetingMessage

public CancelMeetingMessage createCancelMeetingMessage()
                                                throws java.lang.Exception
Creates a local meeting acceptance message that can be customized and sent.

Returns:
A CancelMeetingMessage representing the meeting cancellation message.
Throws:
java.lang.Exception - the exception

createDeclineMessage

public DeclineMeetingInvitationMessage createDeclineMessage()
                                                     throws java.lang.Exception
Creates a local meeting declination message that can be customized and sent.

Returns:
A DeclineMeetingInvitation representing the meeting declination message.
Throws:
java.lang.Exception - the exception

accept

public CalendarActionResults accept(boolean sendResponse)
                             throws java.lang.Exception
Accepts the meeting. Calling this method results in a call to EWS.

Parameters:
sendResponse - the send response
Returns:
A CalendarActionResults object containing the various items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

acceptTentatively

public CalendarActionResults acceptTentatively(boolean sendResponse)
                                        throws java.lang.Exception
Tentatively accepts the meeting. Calling this method results in a call to EWS.

Parameters:
sendResponse - the send response
Returns:
A CalendarActionResults object containing the various items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

internalAccept

protected CalendarActionResults internalAccept(boolean tentative,
                                               boolean sendResponse)
                                        throws java.lang.Exception
Accepts the meeting.

Parameters:
tentative - the tentative
sendResponse - the send response
Returns:
A CalendarActionResults object containing the various items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

cancelMeeting

public CalendarActionResults cancelMeeting()
                                    throws java.lang.Exception
Cancels the meeting and sends cancellation messages to all attendees. Calling this method results in a call to EWS.

Returns:
A CalendarActionResults object containing the various items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

cancelMeeting

public CalendarActionResults cancelMeeting(java.lang.String cancellationMessageText)
                                    throws java.lang.Exception
Cancels the meeting and sends cancellation messages to all attendees. Calling this method results in a call to EWS.

Parameters:
cancellationMessageText - the cancellation message text
Returns:
A CalendarActionResults object containing the various items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

decline

public CalendarActionResults decline(boolean sendResponse)
                              throws java.lang.Exception
Declines the meeting invitation. Calling this method results in a call to EWS.

Parameters:
sendResponse - the send response
Returns:
A CalendarActionResults object containing the various items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

getDefaultSendCancellationsMode

protected SendCancellationsMode getDefaultSendCancellationsMode()
Gets the default setting for sending cancellations on Delete.

Overrides:
getDefaultSendCancellationsMode in class Item
Returns:
If Delete() is called on Appointment, we want to send cancellations and save a copy.

getDefaultSendInvitationsMode

protected SendInvitationsMode getDefaultSendInvitationsMode()
Gets the default settings for sending invitations on Save.

Overrides:
getDefaultSendInvitationsMode in class Item
Returns:
the default send invitations mode

getDefaultSendInvitationsOrCancellationsMode

protected SendInvitationsOrCancellationsMode getDefaultSendInvitationsOrCancellationsMode()
Gets the default settings for sending invitations on Save.

Overrides:
getDefaultSendInvitationsOrCancellationsMode in class Item
Returns:
the default send invitations or cancellations mode

getStart

public java.util.Date getStart()
                        throws ServiceLocalException
Gets the start time of the appointment.

Returns:
the start
Throws:
ServiceLocalException - the service local exception

setStart

public void setStart(java.util.Date value)
              throws java.lang.Exception
Sets the start.

Parameters:
value - the new start
Throws:
java.lang.Exception - the exception

getEnd

public java.util.Date getEnd()
                      throws ServiceLocalException
Gets or sets the end time of the appointment.

Returns:
the end
Throws:
ServiceLocalException - the service local exception

setEnd

public void setEnd(java.util.Date value)
            throws java.lang.Exception
Sets the end.

Parameters:
value - the new end
Throws:
java.lang.Exception - the exception

getOriginalStart

public java.util.Date getOriginalStart()
                                throws ServiceLocalException
Gets the original start time of this appointment.

Returns:
the original start
Throws:
ServiceLocalException - the service local exception

getIsAllDayEvent

public java.lang.Boolean getIsAllDayEvent()
                                   throws ServiceLocalException
Gets a value indicating whether this appointment is an all day event.

Returns:
the checks if is all day event
Throws:
ServiceLocalException - the service local exception

setIsAllDayEvent

public void setIsAllDayEvent(java.lang.Boolean value)
                      throws java.lang.Exception
Sets the checks if is all day event.

Parameters:
value - the new checks if is all day event
Throws:
java.lang.Exception - the exception

getLegacyFreeBusyStatus

public LegacyFreeBusyStatus getLegacyFreeBusyStatus()
                                             throws ServiceLocalException
Gets a value indicating the free/busy status of the owner of this appointment.

Returns:
the legacy free busy status
Throws:
ServiceLocalException - the service local exception

setLegacyFreeBusyStatus

public void setLegacyFreeBusyStatus(LegacyFreeBusyStatus value)
                             throws java.lang.Exception
Sets the legacy free busy status.

Parameters:
value - the new legacy free busy status
Throws:
java.lang.Exception - the exception

getLocation

public java.lang.String getLocation()
                             throws ServiceLocalException
Gets the location of this appointment.

Returns:
the location
Throws:
ServiceLocalException - the service local exception

setLocation

public void setLocation(java.lang.String value)
                 throws java.lang.Exception
Sets the location.

Parameters:
value - the new location
Throws:
java.lang.Exception - the exception

getWhen

public java.lang.String getWhen()
                         throws ServiceLocalException
Gets a text indicating when this appointment occurs. The text returned by When is localized using the Exchange Server culture or using the culture specified in the PreferredCulture property of the ExchangeService object this appointment is bound to.

Returns:
the when
Throws:
ServiceLocalException - the service local exception

getIsMeeting

public java.lang.Boolean getIsMeeting()
                               throws ServiceLocalException
Gets a value indicating whether the appointment is a meeting.

Returns:
the checks if is meeting
Throws:
ServiceLocalException - the service local exception

getIsCancelled

public java.lang.Boolean getIsCancelled()
                                 throws ServiceLocalException
Gets a value indicating whether the appointment has been cancelled.

Returns:
the checks if is cancelled
Throws:
ServiceLocalException - the service local exception

getIsRecurring

public java.lang.Boolean getIsRecurring()
                                 throws ServiceLocalException
Gets a value indicating whether the appointment is recurring.

Returns:
the checks if is recurring
Throws:
ServiceLocalException - the service local exception

getMeetingRequestWasSent

public java.lang.Boolean getMeetingRequestWasSent()
                                           throws ServiceLocalException
Gets a value indicating whether the meeting request has already been sent.

Returns:
the meeting request was sent
Throws:
ServiceLocalException - the service local exception

getIsResponseRequested

public java.lang.Boolean getIsResponseRequested()
                                         throws ServiceLocalException
Gets a value indicating whether responses are requested when invitations are sent for this meeting.

Returns:
the checks if is response requested
Throws:
ServiceLocalException - the service local exception

setIsResponseRequested

public void setIsResponseRequested(java.lang.Boolean value)
                            throws java.lang.Exception
Sets the checks if is response requested.

Parameters:
value - the new checks if is response requested
Throws:
java.lang.Exception - the exception

getAppointmentType

public AppointmentType getAppointmentType()
                                   throws ServiceLocalException
Gets a value indicating the type of this appointment.

Returns:
the appointment type
Throws:
ServiceLocalException - the service local exception

getMyResponseType

public MeetingResponseType getMyResponseType()
                                      throws ServiceLocalException
Gets a value indicating what was the last response of the user that loaded this meeting.

Returns:
the my response type
Throws:
ServiceLocalException - the service local exception

getOrganizer

public EmailAddress getOrganizer()
                          throws ServiceLocalException
Gets the organizer of this meeting. The Organizer property is read-only and is only relevant for attendees. The organizer of a meeting is automatically set to the user that created the meeting.

Returns:
the organizer
Throws:
ServiceLocalException - the service local exception

getRequiredAttendees

public AttendeeCollection getRequiredAttendees()
                                        throws ServiceLocalException
Gets a list of required attendees for this meeting.

Returns:
the required attendees
Throws:
ServiceLocalException - the service local exception

getOptionalAttendees

public AttendeeCollection getOptionalAttendees()
                                        throws ServiceLocalException
Gets a list of optional attendeed for this meeting.

Returns:
the optional attendees
Throws:
ServiceLocalException - the service local exception

getResources

public AttendeeCollection getResources()
                                throws ServiceLocalException
Gets a list of resources for this meeting.

Returns:
the resources
Throws:
ServiceLocalException - the service local exception

getConflictingMeetingCount

public java.lang.Integer getConflictingMeetingCount()
                                             throws ServiceLocalException
Gets the number of calendar entries that conflict with this appointment in the authenticated user's calendar.

Returns:
the conflicting meeting count
Throws:
ServiceLocalException - the service local exception

getAdjacentMeetingCount

public java.lang.Integer getAdjacentMeetingCount()
                                          throws ServiceLocalException
Gets the number of calendar entries that are adjacent to this appointment in the authenticated user's calendar.

Returns:
the adjacent meeting count
Throws:
ServiceLocalException - the service local exception

getConflictingMeetings

public ItemCollection<Appointment> getConflictingMeetings()
                                                   throws ServiceLocalException
Gets a list of meetings that conflict with this appointment in the authenticated user's calendar.

Returns:
the conflicting meetings
Throws:
ServiceLocalException - the service local exception

getAdjacentMeetings

public ItemCollection<Appointment> getAdjacentMeetings()
                                                throws ServiceLocalException
Gets a list of meetings that conflict with this appointment in the authenticated user's calendar.

Returns:
the adjacent meetings
Throws:
ServiceLocalException - the service local exception

getDuration

public TimeSpan getDuration()
                     throws ServiceLocalException
Gets the duration of this appointment.

Returns:
the duration
Throws:
ServiceLocalException - the service local exception

getTimeZone

public java.lang.String getTimeZone()
                             throws ServiceLocalException
Gets the name of the time zone this appointment is defined in.

Returns:
the time zone
Throws:
ServiceLocalException - the service local exception

getAppointmentReplyTime

public java.util.Date getAppointmentReplyTime()
                                       throws ServiceLocalException
Gets the time when the attendee replied to the meeting request.

Returns:
the appointment reply time
Throws:
ServiceLocalException - the service local exception

getAppointmentSequenceNumber

public java.lang.Integer getAppointmentSequenceNumber()
                                               throws ServiceLocalException
Gets the sequence number of this appointment.

Returns:
the appointment sequence number
Throws:
ServiceLocalException - the service local exception

getAppointmentState

public java.lang.Integer getAppointmentState()
                                      throws ServiceLocalException
Gets the state of this appointment.

Returns:
the appointment state
Throws:
ServiceLocalException - the service local exception

getRecurrence

public Recurrence getRecurrence()
                         throws ServiceLocalException
Gets the recurrence pattern for this appointment. Available recurrence pattern classes include Recurrence.DailyPattern, Recurrence.MonthlyPattern and Recurrence.YearlyPattern.

Returns:
the recurrence
Throws:
ServiceLocalException - the service local exception

setRecurrence

public void setRecurrence(Recurrence value)
                   throws java.lang.Exception
Sets the recurrence.

Parameters:
value - the new recurrence
Throws:
java.lang.Exception - the exception

getFirstOccurrence

public OccurrenceInfo getFirstOccurrence()
                                  throws ServiceLocalException
Gets an OccurrenceInfo identifying the first occurrence of this meeting.

Returns:
the first occurrence
Throws:
ServiceLocalException - the service local exception

getLastOccurrence

public OccurrenceInfo getLastOccurrence()
                                 throws ServiceLocalException
Gets an OccurrenceInfo identifying the first occurrence of this meeting.

Returns:
the last occurrence
Throws:
ServiceLocalException - the service local exception

getModifiedOccurrences

public OccurrenceInfoCollection getModifiedOccurrences()
                                                throws ServiceLocalException
Gets a list of modified occurrences for this meeting.

Returns:
the modified occurrences
Throws:
ServiceLocalException - the service local exception

getDeletedOccurrences

public DeletedOccurrenceInfoCollection getDeletedOccurrences()
                                                      throws ServiceLocalException
Gets a list of deleted occurrences for this meeting.

Returns:
the deleted occurrences
Throws:
ServiceLocalException - the service local exception

getStartTimeZone

public TimeZoneDefinition getStartTimeZone()
                                    throws ServiceLocalException
Gets the start time zone.

Returns:
the start time zone
Throws:
ServiceLocalException - the service local exception

setStartTimeZone

public void setStartTimeZone(TimeZoneDefinition value)
                      throws java.lang.Exception
Sets the start time zone.

Parameters:
value - the new start time zone
Throws:
java.lang.Exception - the exception

getEndTimeZone

public TimeZoneDefinition getEndTimeZone()
                                  throws ServiceLocalException
Gets the start time zone.

Returns:
the start time zone
Throws:
ServiceLocalException - the service local exception

setEndTimeZone

public void setEndTimeZone(TimeZoneDefinition value)
                    throws java.lang.Exception
Sets the start time zone.

Parameters:
value - the new end time zone
Throws:
java.lang.Exception - the exception

getConferenceType

public java.lang.Integer getConferenceType()
                                    throws ServiceLocalException
Gets the type of conferencing that will be used during the meeting.

Returns:
the conference type
Throws:
ServiceLocalException - the service local exception

setConferenceType

public void setConferenceType(java.lang.Integer value)
                       throws java.lang.Exception
Sets the conference type.

Parameters:
value - the new conference type
Throws:
java.lang.Exception - the exception

getAllowNewTimeProposal

public java.lang.Boolean getAllowNewTimeProposal()
                                          throws ServiceLocalException
Gets a value indicating whether new time proposals are allowed for attendees of this meeting.

Returns:
the allow new time proposal
Throws:
ServiceLocalException - the service local exception

setAllowNewTimeProposal

public void setAllowNewTimeProposal(java.lang.Boolean value)
                             throws java.lang.Exception
Sets the allow new time proposal.

Parameters:
value - the new allow new time proposal
Throws:
java.lang.Exception - the exception

getIsOnlineMeeting

public java.lang.Boolean getIsOnlineMeeting()
                                     throws ServiceLocalException
Gets a value indicating whether this is an online meeting.

Returns:
the checks if is online meeting
Throws:
ServiceLocalException - the service local exception

setIsOnlineMeeting

public void setIsOnlineMeeting(java.lang.Boolean value)
                        throws java.lang.Exception
Sets the checks if is online meeting.

Parameters:
value - the new checks if is online meeting
Throws:
java.lang.Exception - the exception

getMeetingWorkspaceUrl

public java.lang.String getMeetingWorkspaceUrl()
                                        throws ServiceLocalException
Gets the URL of the meeting workspace. A meeting workspace is a shared Web site for planning meetings and tracking results.

Returns:
the meeting workspace url
Throws:
ServiceLocalException - the service local exception

setMeetingWorkspaceUrl

public void setMeetingWorkspaceUrl(java.lang.String value)
                            throws java.lang.Exception
Sets the meeting workspace url.

Parameters:
value - the new meeting workspace url
Throws:
java.lang.Exception - the exception

getNetShowUrl

public java.lang.String getNetShowUrl()
                               throws ServiceLocalException
Gets the URL of the Microsoft NetShow online meeting.

Returns:
the net show url
Throws:
ServiceLocalException - the service local exception

setNetShowUrl

public void setNetShowUrl(java.lang.String value)
                   throws java.lang.Exception
Sets the net show url.

Parameters:
value - the new net show url
Throws:
java.lang.Exception - the exception

getICalUid

public java.lang.String getICalUid()
                            throws ServiceLocalException
Gets the ICalendar Uid.

Returns:
the i cal uid
Throws:
ServiceLocalException - the service local exception

setICalUid

public void setICalUid(java.lang.String value)
                throws java.lang.Exception
Sets the ICalendar Uid.

Parameters:
value - the i cal uid
Throws:
java.lang.Exception

getICalRecurrenceId

public java.util.Date getICalRecurrenceId()
                                   throws ServiceLocalException
Gets the ICalendar RecurrenceId.

Returns:
the i cal recurrence id
Throws:
ServiceLocalException - the service local exception

gaetICalDateTimeStmp

public java.util.Date gaetICalDateTimeStmp()
                                    throws ServiceLocalException
Gets the ICalendar DateTimeStamp.

Returns:
the i cal date time stamp
Throws:
ServiceLocalException - the service local exception