Class MeetingMessage
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.service.ServiceObject
-
- microsoft.exchange.webservices.data.core.service.item.Item
-
- microsoft.exchange.webservices.data.core.service.item.EmailMessage
-
- 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
Constructors Constructor Description MeetingMessage(ExchangeService service)Initializes a new instance of the "MeetingMessage" class.MeetingMessage(ItemAttachment parentAttachment)Initializes a new instance of the "MeetingMessage" class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MeetingMessagebind(ExchangeService service, ItemId id)Binds to an existing meeting message and loads its first class property.static MeetingMessagebind(ExchangeService service, ItemId id, PropertySet propertySet)Binds to an existing meeting message and loads the specified set of property.ItemIdgetAssociatedAppointmentId()Gets the associated appointment ID.BooleangetHasBeenProcessed()Gets whether the meeting message has been processed.DategetICalDateTimeStamp()Gets the ICalendar DateTimeStamp.DategetICalRecurrenceId()Gets the ICalendar RecurrenceId.StringgetICalUid()Gets the ICalendar Uid.BooleangetIsDelegated()Gets the IsDelegated property.BooleangetIsOutOfDate()Gets the IsOutOfDate property.ExchangeVersiongetMinimumRequiredServerVersion()Gets the minimum required server version.MeetingResponseTypegetResponseType()Gets the response type indicated by this meeting message.ServiceObjectSchemagetSchema()Internal method to return the schema associated with this type of object.voidsetICalUid(String value)Sets the ICalendar Uid.voidsetResponseType(MeetingResponseType value)Sets the response type.-
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
-
-
-
-
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:
getSchemain classEmailMessage- Returns:
- The schema associated with this type of object.
-
getMinimumRequiredServerVersion
public ExchangeVersion getMinimumRequiredServerVersion()
Gets the minimum required server version.- Overrides:
getMinimumRequiredServerVersionin classEmailMessage- 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
-
setResponseType
public void setResponseType(MeetingResponseType value) throws Exception
Sets the response type.- Parameters:
value- the response type- Throws:
Exception
-
getICalUid
public String getICalUid() throws ServiceLocalException
Gets the ICalendar Uid.- Returns:
- the ical uid
- Throws:
ServiceLocalException- the service local exception
-
setICalUid
public void setICalUid(String value) throws Exception
Sets the ICalendar Uid.- Parameters:
value- the i cal uid- Throws:
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
-
-