microsoft.exchange.webservices.data
Class MeetingCancellation

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
                  extended by microsoft.exchange.webservices.data.MeetingCancellation

public class MeetingCancellation
extends MeetingMessage

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


Constructor Summary
protected MeetingCancellation(ExchangeService service)
          Initializes a new instance of the class.
protected MeetingCancellation(ItemAttachment parentAttachment)
          Initializes a new instance of the class.
 
Method Summary
static MeetingCancellation bind(ExchangeService service, ItemId id)
          Binds to an existing meeting cancellation message and loads the specified set of properties.
static MeetingCancellation bind(ExchangeService service, ItemId id, PropertySet propertySet)
          Binds to an existing meeting cancellation message and loads the specified set of properties.
protected  ExchangeVersion getMinimumRequiredServerVersion()
          Gets the minimum required server version.
 CalendarActionResults removeMeetingFromCalendar()
          Removes the meeting associated with the cancellation message from the user's calendar.
 
Methods inherited from class microsoft.exchange.webservices.data.MeetingMessage
getSchema
 
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

MeetingCancellation

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

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

MeetingCancellation

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

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

bind

public static MeetingCancellation bind(ExchangeService service,
                                       ItemId id,
                                       PropertySet propertySet)
Binds to an existing meeting cancellation 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 cancellation message.
id - The Id of the meeting cancellation message to bind to.
propertySet - The set of properties to load.
Returns:
A MeetingCancellation instance representing the meeting cancellation message corresponding to the specified Id.

bind

public static MeetingCancellation bind(ExchangeService service,
                                       ItemId id)
Binds to an existing meeting cancellation 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 cancellation message.
id - The Id of the meeting cancellation message to bind to.
Returns:
A MeetingCancellation instance representing the meeting cancellation message corresponding to the specified Id.

removeMeetingFromCalendar

public CalendarActionResults removeMeetingFromCalendar()
                                                throws ServiceLocalException,
                                                       java.lang.Exception
Removes the meeting associated with the cancellation message from the user's calendar.

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

getMinimumRequiredServerVersion

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

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