Class MeetingResponse
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.service.ServiceObject
-
- microsoft.exchange.webservices.data.core.service.item.Item
-
- microsoft.exchange.webservices.data.core.service.item.EmailMessage
-
- microsoft.exchange.webservices.data.core.service.item.MeetingMessage
-
- microsoft.exchange.webservices.data.core.service.item.MeetingResponse
-
public class MeetingResponse extends MeetingMessage
Represents a response to a meeting request. Properties available on meeting messages are defined in the MeetingMessageSchema class.
-
-
Constructor Summary
Constructors Constructor Description MeetingResponse(ExchangeService service)Initializes a new instance of the class.MeetingResponse(ItemAttachment parentAttachment)Initializes a new instance of the class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MeetingResponsebind(ExchangeService service, ItemId id)Binds to an existing meeting response and loads the specified set of property.static MeetingResponsebind(ExchangeService service, ItemId id, PropertySet propertySet)Binds to an existing meeting response and loads the specified set of property.AppointmentTypegetAppointmentType()Gets a value indicating the type of this appointment.DategetEnd()Gets or sets the end time of the appointment.StringgetLocation()Gets the location of this appointment.ExchangeVersiongetMinimumRequiredServerVersion()Gets the minimum required server version.DategetProposedEnd()Gets the proposed end time.DategetProposedStart()Gets the proposed start time.RecurrencegetRecurrence()Gets the recurrence pattern for this appointment.ServiceObjectSchemagetSchema()Internal method to return the schema associated with this type of object.DategetStart()Gets the start time of the appointment.voidsetProposedEnd(Date value)Sets the proposed end.voidsetProposedStart(Date value)Sets the proposed start.-
Methods inherited from class microsoft.exchange.webservices.data.core.service.item.MeetingMessage
getAssociatedAppointmentId, getHasBeenProcessed, getICalDateTimeStamp, getICalRecurrenceId, getICalUid, getIsDelegated, getIsOutOfDate, getResponseType, setICalUid, setResponseType
-
Methods inherited from class microsoft.exchange.webservices.data.core.service.item.EmailMessage
createForward, createReply, forward, forward, getBccRecipients, getCcRecipients, getConversationIndex, getConversationTopic, getFrom, getInternetMessageId, getIsAssociated, getIsDeliveryReceiptRequested, getIsRead, getIsReadReceiptRequested, getIsResponseRequested, getReceivedBy, getReceivedRepresenting, getReferences, getReplyTo, getSender, getToRecipients, reply, send, sendAndSaveCopy, sendAndSaveCopy, sendAndSaveCopy, setFrom, setIsAssociated, setIsDeliveryReceiptRequested, setIsRead, setIsReadReceiptRequested, setIsResponseRequested, setReferences, setSender, suppressReadReceipt
-
Methods inherited from class microsoft.exchange.webservices.data.core.service.item.Item
copy, copy, delete, getAllowedResponseActions, getAttachments, getBody, getCategories, getConversationId, getCulture, getDateTimeCreated, getDateTimeReceived, getDateTimeSent, getDefaultAffectedTaskOccurrences, getDefaultSendCancellationsMode, getDefaultSendInvitationsMode, getDefaultSendInvitationsOrCancellationsMode, getDisplayCc, getDisplayTo, getEffectiveRights, getExtendedProperties, getHasAttachments, getId, getIdPropertyDefinition, getImportance, getInReplyTo, getInternetMessageHeaders, getIsDraft, getIsFromMe, getIsNew, getIsReminderSet, getIsResend, getIsSubmitted, getIsTimeZoneHeaderRequired, getIsUnmodified, getItemClass, getLastModifiedName, getLastModifiedTime, getMimeContent, getParentAttachment, getParentFolderId, getReminderDueBy, getReminderMinutesBeforeStart, getRootItemId, getSensitivity, getSize, getSubject, getUniqueBody, getWebClientEditFormQueryString, getWebClientReadFormQueryString, hasUnprocessedAttachmentChanges, internalCreate, internalDelete, internalLoad, internalUpdate, isAttachment, move, move, removeExtendedProperty, save, save, save, setBody, setCategories, setCulture, setExtendedProperty, setImportance, setInReplyTo, setIsReminderSet, setItemClass, setMimeContent, setReminderDueBy, setReminderMinutesBeforeStart, setSensitivity, setSubject, throwIfThisIsAttachment, update, validate
-
Methods inherited from class microsoft.exchange.webservices.data.core.service.ServiceObject
addServiceObjectChangedEvent, changed, clearChangeLog, clearServiceObjectChangedEvent, getChangeXmlElementName, getDeleteFieldXmlElementName, getIsCustomDateTimeScopingRequired, getLoadedPropertyDefinitions, getObjectFromPropertyDefinition, getPropertyBag, getService, getSetFieldXmlElementName, getXmlElementName, getXmlElementNameOverride, isDirty, isNew, load, load, loadFromXml, loadFromXml, removeServiceObjectChangedEvent, schema, setService, throwIfThisIsNew, throwIfThisIsNotNew, tryGetExtendedProperty, tryGetProperty, tryGetProperty, writeToXml, writeToXmlForUpdate
-
-
-
-
Constructor Detail
-
MeetingResponse
public MeetingResponse(ItemAttachment parentAttachment) throws Exception
Initializes a new instance of the class.- Parameters:
parentAttachment- The parentAttachment- Throws:
Exception- the exception
-
MeetingResponse
public MeetingResponse(ExchangeService service) throws Exception
Initializes a new instance of the class.- Parameters:
service- EWS service to which this object belongs.- Throws:
Exception- the exception
-
-
Method Detail
-
bind
public static MeetingResponse bind(ExchangeService service, ItemId id, PropertySet propertySet)
Binds to an existing meeting response and loads the specified set of property. Calling this method results in a call to EWS.- Parameters:
service- The service to use to bind to the meeting response.id- The Id of the meeting response to bind to.propertySet- The set of property to load.- Returns:
- A MeetingResponse instance representing the meeting response corresponding to the specified Id.
-
bind
public static MeetingResponse bind(ExchangeService service, ItemId id)
Binds to an existing meeting response and loads the specified set of property. Calling this method results in a call to EWS.- Parameters:
service- The service to use to bind to the meeting response.id- The Id of the meeting response to bind to.- Returns:
- A MeetingResponse instance representing the meeting response corresponding to the specified Id.
-
getSchema
public ServiceObjectSchema getSchema()
Internal method to return the schema associated with this type of object.- Overrides:
getSchemain classMeetingMessage- Returns:
- The schema associated with this type of object.
-
getMinimumRequiredServerVersion
public ExchangeVersion getMinimumRequiredServerVersion()
Gets the minimum required server version.- Overrides:
getMinimumRequiredServerVersionin classMeetingMessage- Returns:
- Earliest Exchange version in which this service object type is supported.
-
getStart
public Date getStart() throws ServiceLocalException
Gets the start time of the appointment.- Returns:
- the start
- Throws:
ServiceLocalException- the service local exception
-
getEnd
public Date getEnd() throws ServiceLocalException
Gets or sets the end time of the appointment.- Returns:
- the end
- Throws:
ServiceLocalException- the service local exception
-
getLocation
public String getLocation() throws ServiceLocalException
Gets the location of this appointment.- Returns:
- the location
- Throws:
ServiceLocalException- the service local exception
-
getRecurrence
public Recurrence getRecurrence() throws ServiceLocalException
Gets the recurrence pattern for this appointment. Available recurrence pattern classes include Recurrence.DailyPattern, Recurrence.MonthlyPattern and Recurrence.YearlyPattern.- Returns:
- the recurrence
- Throws:
ServiceLocalException- the service local exception
-
getAppointmentType
public AppointmentType getAppointmentType() throws ServiceLocalException
Gets a value indicating the type of this appointment.- Returns:
- the appointment type
- Throws:
ServiceLocalException- the service local 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.- Parameters:
value- the proposed start- Throws:
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.- Parameters:
value- the proposed start- Throws:
Exception
-
-