microsoft.exchange.webservices.data
Class CalendarResponseMessageBase<TMessage extends EmailMessage>

java.lang.Object
  extended by microsoft.exchange.webservices.data.ServiceObject
      extended by microsoft.exchange.webservices.data.ResponseObject<TMessage>
          extended by microsoft.exchange.webservices.data.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
 CalendarActionResults calendarSave()
          Saves the response in the Drafts folder.
 CalendarActionResults calendarSave(FolderId destinationFolderId)
          Saves the response in the specified folder.
 CalendarActionResults calendarSave(WellKnownFolderName destinationFolderName)
          Saves the response in the specified folder.
 CalendarActionResults calendarSend()
          Sends this response without saving a copy.
 CalendarActionResults calendarSendAndSaveCopy()
          Sends this response ans saves a copy in the specified folder.
 CalendarActionResults calendarSendAndSaveCopy(FolderId destinationFolderId)
          Sends this response ans saves a copy in the specified folder.
 CalendarActionResults calendarSendAndSaveCopy(WellKnownFolderName destinationFolderName)
          Sends this response ans saves a copy in the specified folder.
 
Methods inherited from class microsoft.exchange.webservices.data.ResponseObject
getSchema, internalCreate, internalDelete, internalLoad, save, save, save, send, sendAndSaveCopy, sendAndSaveCopy, sendAndSaveCopy
 
Methods inherited from class microsoft.exchange.webservices.data.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

calendarSave

public CalendarActionResults calendarSave(FolderId destinationFolderId)
                                   throws java.lang.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 items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

calendarSave

public CalendarActionResults calendarSave(WellKnownFolderName destinationFolderName)
                                   throws java.lang.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 items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

calendarSave

public CalendarActionResults calendarSave()
                                   throws java.lang.Exception
Saves the response in the Drafts folder. Calling this method results in a call to EWS.

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

calendarSend

public CalendarActionResults calendarSend()
                                   throws java.lang.Exception
Sends this response without saving a copy. Calling this method results in a call to EWS.

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

calendarSendAndSaveCopy

public CalendarActionResults calendarSendAndSaveCopy(FolderId destinationFolderId)
                                              throws java.lang.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 items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

calendarSendAndSaveCopy

public CalendarActionResults calendarSendAndSaveCopy(WellKnownFolderName destinationFolderName)
                                              throws java.lang.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 items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception

calendarSendAndSaveCopy

public CalendarActionResults calendarSendAndSaveCopy()
                                              throws java.lang.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 items that were created or modified as a results of this operation.
Throws:
java.lang.Exception - the exception