microsoft.exchange.webservices.data
Class MeetingMessage

java.lang.Object
  extended by microsoft.exchange.webservices.data.ServiceObject
      extended by microsoft.exchange.webservices.data.Item
          extended by microsoft.exchange.webservices.data.EmailMessage
              extended by microsoft.exchange.webservices.data.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
protected MeetingMessage(ExchangeService service)
          Initializes a new instance of the "MeetingMessage" class.
protected 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 properties.
static MeetingMessage bind(ExchangeService service, ItemId id, PropertySet propertySet)
          Binds to an existing meeting message and loads the specified set of properties.
protected  ExchangeVersion getMinimumRequiredServerVersion()
          Gets the minimum required server version.
protected  ServiceObjectSchema getSchema()
          Internal method to return the schema associated with this type of object.
 
Methods inherited from class microsoft.exchange.webservices.data.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.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, setSubject, throwIfThisIsAttachment, update, validate
 
Methods inherited from class microsoft.exchange.webservices.data.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

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

Parameters:
parentAttachment - the parent attachment
Throws:
java.lang.Exception - the exception

MeetingMessage

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

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

bind

public static MeetingMessage bind(ExchangeService service,
                                  ItemId id,
                                  PropertySet propertySet)
                           throws java.lang.Exception
Binds to an existing meeting message and loads the specified set of properties. 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 properties to load.
Returns:
A MeetingMessage instance representing the meeting message corresponding to the specified Id.
Throws:
java.lang.Exception - the exception

bind

public static MeetingMessage bind(ExchangeService service,
                                  ItemId id)
                           throws java.lang.Exception
Binds to an existing meeting message and loads its first class properties. 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:
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 EmailMessage
Returns:
The schema associated with this type of object.

getMinimumRequiredServerVersion

protected 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.