Class CalendarResponseMessageBase<TMessage extends EmailMessage>
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.service.ServiceObject
-
- microsoft.exchange.webservices.data.core.service.response.ResponseObject<TMessage>
-
- microsoft.exchange.webservices.data.core.service.response.CalendarResponseMessageBase<TMessage>
-
- Type Parameters:
TMessage- The type of message that is created when this response message is saved.
- Direct Known Subclasses:
CalendarResponseMessage,CancelMeetingMessage
public abstract class CalendarResponseMessageBase<TMessage extends EmailMessage> extends ResponseObject<TMessage>
Represents the base class for all calendar-related response messages.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CalendarActionResultscalendarSave()Saves the response in the Drafts folder.CalendarActionResultscalendarSave(WellKnownFolderName destinationFolderName)Saves the response in the specified folder.CalendarActionResultscalendarSave(FolderId destinationFolderId)Saves the response in the specified folder.CalendarActionResultscalendarSend()Sends this response without saving a copy.CalendarActionResultscalendarSendAndSaveCopy()Sends this response ans saves a copy in the specified folder.CalendarActionResultscalendarSendAndSaveCopy(WellKnownFolderName destinationFolderName)Sends this response ans saves a copy in the specified folder.CalendarActionResultscalendarSendAndSaveCopy(FolderId destinationFolderId)Sends this response ans saves a copy in the specified folder.-
Methods inherited from class microsoft.exchange.webservices.data.core.service.response.ResponseObject
getSchema, internalCreate, internalDelete, internalLoad, save, save, save, send, sendAndSaveCopy, sendAndSaveCopy, sendAndSaveCopy
-
Methods inherited from class microsoft.exchange.webservices.data.core.service.ServiceObject
addServiceObjectChangedEvent, changed, clearChangeLog, clearServiceObjectChangedEvent, getChangeXmlElementName, getDeleteFieldXmlElementName, getExtendedProperties, getId, getIdPropertyDefinition, getIsCustomDateTimeScopingRequired, getIsTimeZoneHeaderRequired, getLoadedPropertyDefinitions, getMinimumRequiredServerVersion, getObjectFromPropertyDefinition, getPropertyBag, getService, getSetFieldXmlElementName, getXmlElementName, getXmlElementNameOverride, isDirty, isNew, load, load, loadFromXml, loadFromXml, removeServiceObjectChangedEvent, schema, setService, throwIfThisIsNew, throwIfThisIsNotNew, tryGetExtendedProperty, tryGetProperty, tryGetProperty, validate, writeToXml, writeToXmlForUpdate
-
-
-
-
Method Detail
-
calendarSave
public CalendarActionResults calendarSave(FolderId destinationFolderId) throws Exception
Saves the response in the specified folder. Calling this method results in a call to EWS.- Parameters:
destinationFolderId- The Id of the folder in which to save the response.- Returns:
- A CalendarActionResults object containing the various item that were created or modified as a results of this operation.
- Throws:
Exception- the exception
-
calendarSave
public CalendarActionResults calendarSave(WellKnownFolderName destinationFolderName) throws Exception
Saves the response in the specified folder. Calling this method results in a call to EWS.- Parameters:
destinationFolderName- The name of the folder in which to save the response.- Returns:
- A CalendarActionResults object containing the various item that were created or modified as a results of this operation.
- Throws:
Exception- the exception
-
calendarSave
public CalendarActionResults calendarSave() throws Exception
Saves the response in the Drafts folder. Calling this method results in a call to EWS.- Returns:
- A CalendarActionResults object containing the various item that were created or modified as a results of this operation.
- Throws:
Exception- the exception
-
calendarSend
public CalendarActionResults calendarSend() throws Exception
Sends this response without saving a copy. Calling this method results in a call to EWS.- Returns:
- A CalendarActionResults object containing the various item that were created or modified as a results of this operation.
- Throws:
Exception- the exception
-
calendarSendAndSaveCopy
public CalendarActionResults calendarSendAndSaveCopy(FolderId destinationFolderId) throws Exception
Sends this response ans saves a copy in the specified folder. Calling this method results in a call to EWS.- Parameters:
destinationFolderId- The Id of the folder in which to save the copy of the message.- Returns:
- A CalendarActionResults object containing the various item that were created or modified as a results of this operation.
- Throws:
Exception- the exception
-
calendarSendAndSaveCopy
public CalendarActionResults calendarSendAndSaveCopy(WellKnownFolderName destinationFolderName) throws Exception
Sends this response ans saves a copy in the specified folder. Calling this method results in a call to EWS.- Parameters:
destinationFolderName- the destination folder name- Returns:
- A CalendarActionResults object containing the various item that were created or modified as a results of this operation.
- Throws:
Exception- the exception
-
calendarSendAndSaveCopy
public CalendarActionResults calendarSendAndSaveCopy() throws Exception
Sends this response ans saves a copy in the specified folder. Calling this method results in a call to EWS.- Returns:
- A CalendarActionResults object containing the various item that were created or modified as a results of this operation.
- Throws:
Exception- the exception
-
-