microsoft.exchange.webservices.data.core.service.item
Class MeetingMessage

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.service.ServiceObject
      extended by microsoft.exchange.webservices.data.core.service.item.Item
          extended by microsoft.exchange.webservices.data.core.service.item.EmailMessage
              extended by microsoft.exchange.webservices.data.core.service.item.MeetingMessage
Direct Known Subclasses:
MeetingCancellation, MeetingRequest, MeetingResponse

public class MeetingMessage
extends EmailMessage

Represents a meeting-related message. Properties available on meeting messages are defined in the MeetingMessageSchema class.


Constructor Summary
MeetingMessage(ExchangeService service)
          Initializes a new instance of the "MeetingMessage" class.
MeetingMessage(ItemAttachment parentAttachment)
          Initializes a new instance of the "MeetingMessage" class.
 
Method Summary
static MeetingMessage bind(ExchangeService service, ItemId id)
          Binds to an existing meeting message and loads its first class property.
static MeetingMessage bind(ExchangeService service, ItemId id, PropertySet propertySet)
          Binds to an existing meeting message and loads the specified set of property.
 ItemId getAssociatedAppointmentId()
          Gets the associated appointment ID.
 Boolean getHasBeenProcessed()
          Gets whether the meeting message has been processed.
 Date getICalDateTimeStamp()
          Gets the ICalendar DateTimeStamp.
 Date getICalRecurrenceId()
          Gets the ICalendar RecurrenceId.
 String getICalUid()
          Gets the ICalendar Uid.
 Boolean getIsDelegated()
          Gets the IsDelegated property.
 Boolean getIsOutOfDate()
          Gets the IsOutOfDate property.
 ExchangeVersion getMinimumRequiredServerVersion()
          Gets the minimum required server version.
 MeetingResponseType getResponseType()
          Gets the response type indicated by this meeting message.
 ServiceObjectSchema getSchema()
          Internal method to return the schema associated with this type of object.
 
Methods inherited from class microsoft.exchange.webservices.data.core.service.item.EmailMessage
createForward, createReply, forward, forward, getBccRecipients, getCcRecipients, getConversationIndex, getConversationTopic, getFrom, getInternetMessageId, getIsAssociated, getIsDeliveryReceiptRequested, getIsRead, getIsReadReceiptRequested, getIsResponseRequested, getReceivedBy, getReceivedRepresenting, getReferences, getReplyTo, getSender, getToRecipients, reply, send, sendAndSaveCopy, sendAndSaveCopy, sendAndSaveCopy, setFrom, setIsAssociated, setIsDeliveryReceiptRequested, setIsRead, setIsReadReceiptRequested, setIsResponseRequested, setReferences, setSender, suppressReadReceipt
 
Methods inherited from class microsoft.exchange.webservices.data.core.service.item.Item
copy, copy, delete, getAllowedResponseActions, getAttachments, getBody, getCategories, getConversationId, getCulture, getDateTimeCreated, getDateTimeReceived, getDateTimeSent, getDefaultAffectedTaskOccurrences, getDefaultSendCancellationsMode, getDefaultSendInvitationsMode, getDefaultSendInvitationsOrCancellationsMode, getDisplayCc, getDisplayTo, getEffectiveRights, getExtendedProperties, getHasAttachments, getId, getIdPropertyDefinition, getImportance, getInReplyTo, getInternetMessageHeaders, 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, throwIfThisIsAttachment, update, validate
 
Methods inherited from class microsoft.exchange.webservices.data.core.service.ServiceObject
addServiceObjectChangedEvent, changed, clearChangeLog, clearServiceObjectChangedEvent, getChangeXmlElementName, getDeleteFieldXmlElementName, getIsCustomDateTimeScopingRequired, 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

MeetingMessage

public MeetingMessage(ItemAttachment parentAttachment)
               throws Exception
Initializes a new instance of the "MeetingMessage" class.

Parameters:
parentAttachment - the parent attachment
Throws:
Exception - the exception

MeetingMessage

public MeetingMessage(ExchangeService service)
               throws Exception
Initializes a new instance of the "MeetingMessage" class.

Parameters:
service - EWS service to which this object belongs.
Throws:
Exception - the exception
Method Detail

bind

public static MeetingMessage bind(ExchangeService service,
                                  ItemId id,
                                  PropertySet propertySet)
                           throws Exception
Binds to an existing meeting message and loads the specified set of property. Calling this method results in a call to EWS.

Parameters:
service - The service to use to bind to the meeting message.
id - The Id of the meeting message to bind to.
propertySet - The set of property to load.
Returns:
A MeetingMessage instance representing the meeting message corresponding to the specified Id.
Throws:
Exception - the exception

bind

public static MeetingMessage bind(ExchangeService service,
                                  ItemId id)
                           throws Exception
Binds to an existing meeting message and loads its first class property. Calling this method results in a call to EWS.

Parameters:
service - The service to use to bind to the meeting message.
id - The Id of the meeting message to bind to.
Returns:
A MeetingMessage instance representing the meeting message corresponding to the specified Id.
Throws:
Exception - the exception

getSchema

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

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

getMinimumRequiredServerVersion

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

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

getAssociatedAppointmentId

public ItemId getAssociatedAppointmentId()
                                  throws ServiceLocalException
Gets the associated appointment ID.

Returns:
the associated appointment ID.
Throws:
ServiceLocalException - the service local exception

getHasBeenProcessed

public Boolean getHasBeenProcessed()
                            throws ServiceLocalException
Gets whether the meeting message has been processed.

Returns:
whether the meeting message has been processed.
Throws:
ServiceLocalException - the service local exception

getResponseType

public MeetingResponseType getResponseType()
                                    throws ServiceLocalException
Gets the response type indicated by this meeting message.

Returns:
the response type indicated by this meeting message.
Throws:
ServiceLocalException - the service local exception

getICalUid

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

Returns:
the ical uid
Throws:
ServiceLocalException - the service local exception

getICalRecurrenceId

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

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

getICalDateTimeStamp

public Date getICalDateTimeStamp()
                          throws ServiceLocalException
Gets the ICalendar DateTimeStamp.

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

getIsDelegated

public Boolean getIsDelegated()
                       throws ServiceLocalException
Gets the IsDelegated property.

Returns:
True if delegated; false otherwise.
Throws:
ServiceLocalException - the service local exception

getIsOutOfDate

public Boolean getIsOutOfDate()
                       throws ServiceLocalException
Gets the IsOutOfDate property.

Returns:
True if out of date; false otherwise.
Throws:
ServiceLocalException - the service local exception


Copyright © 2012–2015 Microsoft. All rights reserved.