Class MeetingCancellation
- 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
-
- microsoft.exchange.webservices.data.core.service.item.MeetingCancellation
-
public class MeetingCancellation extends MeetingMessage
Represents a meeting cancellation message. Properties available on meeting messages are defined in the MeetingMessageSchema class.
-
-
Constructor Summary
Constructors Constructor Description MeetingCancellation(ExchangeService service)Initializes a new instance of the class.MeetingCancellation(ItemAttachment parentAttachment)Initializes a new instance of the class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MeetingCancellationbind(ExchangeService service, ItemId id)Binds to an existing meeting cancellation message and loads the specified set of property.static MeetingCancellationbind(ExchangeService service, ItemId id, PropertySet propertySet)Binds to an existing meeting cancellation message and loads the specified set of property.ExchangeVersiongetMinimumRequiredServerVersion()Gets the minimum required server version.CalendarActionResultsremoveMeetingFromCalendar()Removes the meeting associated with the cancellation message from the user's calendar.-
Methods inherited from class microsoft.exchange.webservices.data.core.service.item.MeetingMessage
getAssociatedAppointmentId, getHasBeenProcessed, getICalDateTimeStamp, getICalRecurrenceId, getICalUid, getIsDelegated, getIsOutOfDate, getResponseType, getSchema, setICalUid, setResponseType
-
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
-
MeetingCancellation
public MeetingCancellation(ItemAttachment parentAttachment) throws Exception
Initializes a new instance of the class.- Parameters:
parentAttachment- The parent attachment.- Throws:
Exception- the exception
-
MeetingCancellation
public MeetingCancellation(ExchangeService service) throws Exception
Initializes a new instance of the class.- Parameters:
service- EWS service to which this object belongs.- Throws:
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 property. 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 property 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 property. 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, Exception
Removes the meeting associated with the cancellation message from the user's calendar.- Returns:
- A CalendarActionResults object containing the various item that were created or modified as a results of this operation.
- Throws:
ServiceLocalException- the service local exceptionException- the exception
-
getMinimumRequiredServerVersion
public ExchangeVersion getMinimumRequiredServerVersion()
Gets the minimum required server version.- Overrides:
getMinimumRequiredServerVersionin classMeetingMessage- Returns:
- Earliest Exchange version in which this service object type is supported.
-
-