TMessage
- The type of message that is created when this response message is
saved.public abstract class CalendarResponseMessage<TMessage extends EmailMessage> extends CalendarResponseMessageBase<TMessage>
Modifier | Constructor and Description |
---|---|
protected |
CalendarResponseMessage(Item referenceItem)
Initializes a new instance of the CalendarResponseMessage class.
|
Modifier and Type | Method and Description |
---|---|
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 String |
getItemClass()
Gets the item class.
|
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(String value)
Sets the item class.
|
void |
setSender(EmailAddress value)
Sets the sender.
|
void |
setSensitivity(Sensitivity value)
Sets the sensitivity.
|
calendarSave, calendarSave, calendarSave, calendarSend, calendarSendAndSaveCopy, calendarSendAndSaveCopy, calendarSendAndSaveCopy
internalCreate, internalDelete, internalLoad, save, save, save, send, sendAndSaveCopy, sendAndSaveCopy, sendAndSaveCopy
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
protected CalendarResponseMessage(Item referenceItem) throws Exception
referenceItem
- The reference itemException
- the exceptionpublic ServiceObjectSchema getSchema()
getSchema
in class ResponseObject<TMessage extends EmailMessage>
public MessageBody getBody() throws Exception
Exception
- the exceptionpublic void setBody(MessageBody value) throws Exception
value
- the new bodyException
- the exceptionpublic EmailAddressCollection getToRecipients() throws Exception
Exception
- the exceptionpublic EmailAddressCollection getCcRecipients() throws Exception
Exception
- the exceptionpublic EmailAddressCollection getBccRecipients() throws Exception
Exception
- the exceptionprotected String getItemClass() throws Exception
Exception
- the exceptionprotected void setItemClass(String value) throws Exception
value
- the new item classException
- the exceptionpublic Sensitivity getSensitivity() throws Exception
Exception
- the exceptionpublic void setSensitivity(Sensitivity value) throws Exception
value
- the new sensitivityException
- the exceptionpublic AttachmentCollection getAttachments() throws Exception
Exception
- the exceptionprotected InternetMessageHeaderCollection getInternetMessageHeaders() throws Exception
Exception
- the exceptionpublic EmailAddress getSender() throws Exception
Exception
- the exceptionpublic void setSender(EmailAddress value) throws Exception
value
- the new senderException
- the exceptionCopyright © 2012–2015 Microsoft. All rights reserved.