microsoft.exchange.webservices.data
Class CalendarResponseMessage<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>
              extended by microsoft.exchange.webservices.data.CalendarResponseMessage<TMessage>
Type Parameters:
TMessage - The type of message that is created when this response message is saved.
Direct Known Subclasses:
AcceptMeetingInvitationMessage, DeclineMeetingInvitationMessage

public abstract class CalendarResponseMessage<TMessage extends EmailMessage>
extends CalendarResponseMessageBase<TMessage>

Represents the base class for accept, tentatively accept and decline response messages.


Constructor Summary
protected CalendarResponseMessage(Item referenceItem)
          Initializes a new instance of the CalendarResponseMessage class.
 
Method Summary
 AttachmentCollection getAttachments()
          Gets a list of attachments to this response.
 EmailAddressCollection getBccRecipients()
          Gets a list of recipients this response will be sent to as Bcc.
 MessageBody getBody()
          Gets the body of the response.
 EmailAddressCollection getCcRecipients()
          Gets a list of recipients the response will be sent to as Cc.
protected  InternetMessageHeaderCollection getInternetMessageHeaders()
          Gets the internet message headers.
protected  java.lang.String getItemClass()
          Gets the item class.
protected  ServiceObjectSchema getSchema()
          Internal method to return the schema associated with this type of object.
 EmailAddress getSender()
          Gets the sender of this response.
 Sensitivity getSensitivity()
          Gets the sensitivity of this response.
 EmailAddressCollection getToRecipients()
          Gets a list of recipients the response will be sent to.
 void setBody(MessageBody value)
          Sets the body.
protected  void setItemClass(java.lang.String value)
          Sets the item class.
 void setSender(EmailAddress value)
          Sets the sender.
 void setSensitivity(Sensitivity value)
          Sets the sensitivity.
 
Methods inherited from class microsoft.exchange.webservices.data.CalendarResponseMessageBase
calendarSave, calendarSave, calendarSave, calendarSend, calendarSendAndSaveCopy, calendarSendAndSaveCopy, calendarSendAndSaveCopy
 
Methods inherited from class microsoft.exchange.webservices.data.ResponseObject
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
 

Constructor Detail

CalendarResponseMessage

protected CalendarResponseMessage(Item referenceItem)
                           throws java.lang.Exception
Initializes a new instance of the CalendarResponseMessage class.

Parameters:
referenceItem - The reference item
Throws:
java.lang.Exception - the exception
Method Detail

getSchema

protected ServiceObjectSchema getSchema()
Internal method to return the schema associated with this type of object.

Overrides:
getSchema in class ResponseObject<TMessage extends EmailMessage>
Returns:
The schema associated with this type of object.

getBody

public MessageBody getBody()
                    throws java.lang.Exception
Gets the body of the response.

Returns:
the body
Throws:
java.lang.Exception - the exception

setBody

public void setBody(MessageBody value)
             throws java.lang.Exception
Sets the body.

Parameters:
value - the new body
Throws:
java.lang.Exception - the exception

getToRecipients

public EmailAddressCollection getToRecipients()
                                       throws java.lang.Exception
Gets a list of recipients the response will be sent to.

Returns:
the to recipients
Throws:
java.lang.Exception - the exception

getCcRecipients

public EmailAddressCollection getCcRecipients()
                                       throws java.lang.Exception
Gets a list of recipients the response will be sent to as Cc.

Returns:
the cc recipients
Throws:
java.lang.Exception - the exception

getBccRecipients

public EmailAddressCollection getBccRecipients()
                                        throws java.lang.Exception
Gets a list of recipients this response will be sent to as Bcc.

Returns:
the bcc recipients
Throws:
java.lang.Exception - the exception

getItemClass

protected java.lang.String getItemClass()
                                 throws java.lang.Exception
Gets the item class.

Returns:
the item class
Throws:
java.lang.Exception - the exception

setItemClass

protected void setItemClass(java.lang.String value)
                     throws java.lang.Exception
Sets the item class.

Parameters:
value - the new item class
Throws:
java.lang.Exception - the exception

getSensitivity

public Sensitivity getSensitivity()
                           throws java.lang.Exception
Gets the sensitivity of this response.

Returns:
the sensitivity
Throws:
java.lang.Exception - the exception

setSensitivity

public void setSensitivity(Sensitivity value)
                    throws java.lang.Exception
Sets the sensitivity.

Parameters:
value - the new sensitivity
Throws:
java.lang.Exception - the exception

getAttachments

public AttachmentCollection getAttachments()
                                    throws java.lang.Exception
Gets a list of attachments to this response.

Returns:
the attachments
Throws:
java.lang.Exception - the exception

getInternetMessageHeaders

protected InternetMessageHeaderCollection getInternetMessageHeaders()
                                                             throws java.lang.Exception
Gets the internet message headers.

Returns:
the internet message headers
Throws:
java.lang.Exception - the exception

getSender

public EmailAddress getSender()
                       throws java.lang.Exception
Gets the sender of this response.

Returns:
the sender
Throws:
java.lang.Exception - the exception

setSender

public void setSender(EmailAddress value)
               throws java.lang.Exception
Sets the sender.

Parameters:
value - the new sender
Throws:
java.lang.Exception - the exception