Class CalendarResponseMessage<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>
-
- microsoft.exchange.webservices.data.core.service.response.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
Constructors Modifier Constructor Description protectedCalendarResponseMessage(Item referenceItem)Initializes a new instance of the CalendarResponseMessage class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentCollectiongetAttachments()Gets a list of attachments to this response.EmailAddressCollectiongetBccRecipients()Gets a list of recipients this response will be sent to as Bcc.MessageBodygetBody()Gets the body of the response.EmailAddressCollectiongetCcRecipients()Gets a list of recipients the response will be sent to as Cc.protected InternetMessageHeaderCollectiongetInternetMessageHeaders()Gets the internet message headers.protected StringgetItemClass()Gets the item class.DategetProposedEnd()Gets the proposed end time.DategetProposedStart()Gets the proposed start time.ServiceObjectSchemagetSchema()Internal method to return the schema associated with this type of object.EmailAddressgetSender()Gets the sender of this response.SensitivitygetSensitivity()Gets the sensitivity of this response.EmailAddressCollectiongetToRecipients()Gets a list of recipients the response will be sent to.voidsetBody(MessageBody value)Sets the body.protected voidsetItemClass(String value)Sets the item class.voidsetProposedEnd(Date value)Sets the proposed end time.voidsetProposedStart(Date value)Sets the proposed start time.voidsetSender(EmailAddress value)Sets the sender.voidsetSensitivity(Sensitivity value)Sets the sensitivity.-
Methods inherited from class microsoft.exchange.webservices.data.core.service.response.CalendarResponseMessageBase
calendarSave, calendarSave, calendarSave, calendarSend, calendarSendAndSaveCopy, calendarSendAndSaveCopy, calendarSendAndSaveCopy
-
Methods inherited from class microsoft.exchange.webservices.data.core.service.response.ResponseObject
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
-
-
-
-
Constructor Detail
-
CalendarResponseMessage
protected CalendarResponseMessage(Item referenceItem) throws Exception
Initializes a new instance of the CalendarResponseMessage class.- Parameters:
referenceItem- The reference item- Throws:
Exception- the exception
-
-
Method Detail
-
getSchema
public ServiceObjectSchema getSchema()
Internal method to return the schema associated with this type of object.- Overrides:
getSchemain classResponseObject<TMessage extends EmailMessage>- Returns:
- The schema associated with this type of object.
-
getBody
public MessageBody getBody() throws Exception
Gets the body of the response.- Returns:
- the body
- Throws:
Exception- the exception
-
setBody
public void setBody(MessageBody value) throws Exception
Sets the body.- Parameters:
value- the new body- Throws:
Exception- the exception
-
getToRecipients
public EmailAddressCollection getToRecipients() throws Exception
Gets a list of recipients the response will be sent to.- Returns:
- the to recipients
- Throws:
Exception- the exception
-
getCcRecipients
public EmailAddressCollection getCcRecipients() throws Exception
Gets a list of recipients the response will be sent to as Cc.- Returns:
- the cc recipients
- Throws:
Exception- the exception
-
getBccRecipients
public EmailAddressCollection getBccRecipients() throws Exception
Gets a list of recipients this response will be sent to as Bcc.- Returns:
- the bcc recipients
- Throws:
Exception- the exception
-
getItemClass
protected String getItemClass() throws Exception
Gets the item class.- Returns:
- the item class
- Throws:
Exception- the exception
-
setItemClass
protected void setItemClass(String value) throws Exception
Sets the item class.- Parameters:
value- the new item class- Throws:
Exception- the exception
-
getSensitivity
public Sensitivity getSensitivity() throws Exception
Gets the sensitivity of this response.- Returns:
- the sensitivity
- Throws:
Exception- the exception
-
setSensitivity
public void setSensitivity(Sensitivity value) throws Exception
Sets the sensitivity.- Parameters:
value- the new sensitivity- Throws:
Exception- the exception
-
getAttachments
public AttachmentCollection getAttachments() throws Exception
Gets a list of attachments to this response.- Returns:
- the attachments
- Throws:
Exception- the exception
-
getInternetMessageHeaders
protected InternetMessageHeaderCollection getInternetMessageHeaders() throws Exception
Gets the internet message headers.- Returns:
- the internet message headers
- Throws:
Exception- the exception
-
getSender
public EmailAddress getSender() throws Exception
Gets the sender of this response.- Returns:
- the sender
- Throws:
Exception- the exception
-
setSender
public void setSender(EmailAddress value) throws Exception
Sets the sender.- Parameters:
value- the new sender- Throws:
Exception- the exception
-
getProposedStart
public Date getProposedStart() throws ServiceLocalException
Gets the proposed start time.- Returns:
- the start
- Throws:
ServiceLocalException- the service local exception
-
setProposedStart
public void setProposedStart(Date value) throws Exception
Sets the proposed start time.- Parameters:
value- the new start time- Throws:
Exception- the exception
-
getProposedEnd
public Date getProposedEnd() throws ServiceLocalException
Gets the proposed end time.- Returns:
- the start
- Throws:
ServiceLocalException- the service local exception
-
setProposedEnd
public void setProposedEnd(Date value) throws Exception
Sets the proposed end time.- Parameters:
value- the new end time- Throws:
Exception- the exception
-
-