public class MeetingRequest extends MeetingMessage implements ICalendarActionProvider
Constructor and Description |
---|
MeetingRequest(ExchangeService service)
Initializes a new instance of the class.
|
MeetingRequest(ItemAttachment parentAttachment)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
CalendarActionResults |
accept(boolean sendResponse)
Accepts the meeting.
|
CalendarActionResults |
acceptTentatively(boolean sendResponse)
Tentatively accepts the meeting.
|
static MeetingRequest |
bind(ExchangeService service,
ItemId id)
Binds to an existing meeting response and loads the specified set of
property.
|
static MeetingRequest |
bind(ExchangeService service,
ItemId id,
PropertySet propertySet)
Binds to an existing meeting response and loads the specified set of
property.
|
AcceptMeetingInvitationMessage |
createAcceptMessage(boolean tentative)
Creates a local meeting acceptance message that can be customized and
sent.
|
DeclineMeetingInvitationMessage |
createDeclineMessage()
Creates a local meeting declination message that can be customized and
sent.
|
CalendarActionResults |
decline(boolean sendResponse)
Declines the meeting invitation.
|
int |
getAdjacentMeetingCount()
Gets the number of calendar entries that are adjacent to
this appointment in the authenticated user's calendar.
|
ItemCollection<Appointment> |
getAdjacentMeetings()
Gets a list of meetings that are adjacent with this
appointment in the authenticated user's calendar.
|
boolean |
getAllowNewTimeProposal()
Gets a value indicating whether new time
proposals are allowed for attendees of this meeting.
|
Date |
getAppointmentReplyTime()
Gets the time when the attendee replied to the meeting request.
|
int |
getAppointmentSequenceNumber()
Gets the sequence number of this appointment.
|
int |
getAppointmentState()
Gets the state of this appointment.
|
AppointmentType |
getAppointmentType()
Gets a value indicating the type of this appointment.
|
int |
getConferenceType()
Gets the type of conferencing that will be used during the meeting.
|
int |
getConflictingMeetingCount()
Gets the number of calendar entries that conflict with
this appointment in the authenticated user's calendar.
|
ItemCollection<Appointment> |
getConflictingMeetings()
Gets a list of meetings that conflict with
this appointment in the authenticated user's calendar.
|
DeletedOccurrenceInfoCollection |
getDeletedOccurrences()
Gets a list of deleted occurrences for this meeting.
|
TimeSpan |
getDuration()
Gets the duration of this appointment.
|
Date |
getEnd()
Gets the end time of the appointment.
|
TimeZoneDefinition |
getEndTimeZone()
Gets time zone of the end property of this meeting request.
|
OccurrenceInfo |
getFirstOccurrence()
Gets an OccurrenceInfo identifying the first occurrence of this meeting.
|
LegacyFreeBusyStatus |
getIntendedFreeBusyStatus()
Gets the a value representing the intended free/busy status of the
meeting.
|
boolean |
getIsAllDayEvent()
Gets a value indicating whether this appointment is an all day event.
|
boolean |
getIsCancelled()
Gets a value indicating whether the appointment has been cancelled.
|
boolean |
getIsMeeting()
Gets a value indicating whether the appointment is a meeting.
|
boolean |
getIsOnlineMeeting()
Gets a value indicating whether this is an online meeting.
|
boolean |
getIsRecurring()
Gets a value indicating whether the appointment is recurring.
|
OccurrenceInfo |
getLastOccurrence()
Gets an OccurrenceInfo identifying the last occurrence of this meeting.
|
String |
getLocation()
Gets the location of this appointment.
|
MeetingRequestType |
getMeetingRequestType()
Gets the type of this meeting request.
|
boolean |
getMeetingRequestWasSent()
Gets a value indicating whether the meeting request has already been
sent.
|
String |
getMeetingWorkspaceUrl()
Gets the URL of the meeting workspace.
|
ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the minimum required server version.
|
OccurrenceInfoCollection |
getModifiedOccurrences()
Gets a list of modified occurrences for this meeting.
|
MeetingResponseType |
getMyResponseType()
Gets a value indicating what was the last response of the user that
loaded this meeting.
|
String |
getNetShowUrl()
Gets the URL of the Microsoft NetShow online meeting.
|
AttendeeCollection |
getOptionalAttendees()
Gets a list of optional attendeed for this meeting.
|
EmailAddress |
getOrganizer()
Gets the organizer of this meeting.
|
Date |
getOriginalStart()
Gets the original start time of the appointment.
|
Recurrence |
getRecurrence()
Gets the recurrence pattern for this meeting request.
|
AttendeeCollection |
getRequiredAttendees()
Gets a list of required attendees for this meeting.
|
AttendeeCollection |
getResources()
Gets a list of resources for this meeting.
|
ServiceObjectSchema |
getSchema()
Internal method to return the schema associated with this type of object.
|
Date |
getStart()
Gets the start time of the appointment.
|
TimeZoneDefinition |
getStartTimeZone()
Gets time zone of the start property of this meeting request.
|
String |
getTimeZone()
Gets the name of the time zone this appointment is defined in.
|
String |
getWhen()
Gets a text indicating when this appointment occurs.
|
protected CalendarActionResults |
internalAccept(boolean tentative,
boolean sendResponse)
Accepts the meeting.
|
LegacyFreeBusyStatus |
legacyFreeBusyStatus()
Gets a value indicating the free/busy status of the owner of this
appointment.
|
getAssociatedAppointmentId, getHasBeenProcessed, getICalDateTimeStamp, getICalRecurrenceId, getICalUid, getIsDelegated, getIsOutOfDate, getResponseType
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
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
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
public MeetingRequest(ItemAttachment parentAttachment) throws Exception
parentAttachment
- The parent attachmentException
- throws Exceptionpublic MeetingRequest(ExchangeService service) throws Exception
service
- EWS service to which this object belongs.Exception
- throws Exceptionpublic static MeetingRequest bind(ExchangeService service, ItemId id, PropertySet propertySet)
service
- The service to use to bind to the meeting request.id
- The Id of the meeting request to bind to.propertySet
- The set of property to load.public static MeetingRequest bind(ExchangeService service, ItemId id)
service
- The service to use to bind to the meeting request.id
- The Id of the meeting request to bind to.public ServiceObjectSchema getSchema()
getSchema
in class MeetingMessage
public ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class MeetingMessage
public AcceptMeetingInvitationMessage createAcceptMessage(boolean tentative)
createAcceptMessage
in interface ICalendarActionProvider
tentative
- Specifies whether the meeting will be tentatively accepted.public DeclineMeetingInvitationMessage createDeclineMessage()
createDeclineMessage
in interface ICalendarActionProvider
public CalendarActionResults accept(boolean sendResponse) throws Exception
accept
in interface ICalendarActionProvider
sendResponse
- Indicates whether to send a response to the organizer.Exception
- throws Exceptionpublic CalendarActionResults acceptTentatively(boolean sendResponse) throws Exception
acceptTentatively
in interface ICalendarActionProvider
sendResponse
- Indicates whether to send a response to the organizer.Exception
- throws Exceptionprotected CalendarActionResults internalAccept(boolean tentative, boolean sendResponse) throws Exception
tentative
- True if tentative accept.sendResponse
- Indicates whether to send a response to the organizer.Exception
- throws Exceptionpublic CalendarActionResults decline(boolean sendResponse) throws Exception
decline
in interface ICalendarActionProvider
sendResponse
- Indicates whether to send a response to the organizer.Exception
- throws Exceptionpublic MeetingRequestType getMeetingRequestType() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic LegacyFreeBusyStatus getIntendedFreeBusyStatus() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic Date getStart() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic Date getEnd() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic Date getOriginalStart() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic boolean getIsAllDayEvent() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic LegacyFreeBusyStatus legacyFreeBusyStatus() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic String getLocation() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic String getWhen() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic boolean getIsMeeting() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic boolean getIsCancelled() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic boolean getIsRecurring() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic boolean getMeetingRequestWasSent() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic AppointmentType getAppointmentType() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic MeetingResponseType getMyResponseType() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic EmailAddress getOrganizer() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic AttendeeCollection getRequiredAttendees() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic AttendeeCollection getOptionalAttendees() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic AttendeeCollection getResources() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic int getConflictingMeetingCount() throws NumberFormatException, ServiceLocalException
NumberFormatException
- the number format exceptionServiceLocalException
- the service local exceptionpublic int getAdjacentMeetingCount() throws NumberFormatException, ServiceLocalException
NumberFormatException
- the number format exceptionServiceLocalException
- the service local exceptionpublic ItemCollection<Appointment> getConflictingMeetings() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic ItemCollection<Appointment> getAdjacentMeetings() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic TimeSpan getDuration() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic String getTimeZone() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic Date getAppointmentReplyTime() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic int getAppointmentSequenceNumber() throws NumberFormatException, ServiceLocalException
NumberFormatException
- the number format exceptionServiceLocalException
- the service local exceptionpublic int getAppointmentState() throws NumberFormatException, ServiceLocalException
NumberFormatException
- the number format exceptionServiceLocalException
- the service local exceptionpublic Recurrence getRecurrence() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic OccurrenceInfo getFirstOccurrence() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic OccurrenceInfo getLastOccurrence() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic OccurrenceInfoCollection getModifiedOccurrences() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic DeletedOccurrenceInfoCollection getDeletedOccurrences() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic TimeZoneDefinition getStartTimeZone() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic TimeZoneDefinition getEndTimeZone() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic int getConferenceType() throws NumberFormatException, ServiceLocalException
NumberFormatException
- the number format exceptionServiceLocalException
- the service local exceptionpublic boolean getAllowNewTimeProposal() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic boolean getIsOnlineMeeting() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic String getMeetingWorkspaceUrl() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic String getNetShowUrl() throws ServiceLocalException
ServiceLocalException
- the service local exceptionCopyright © 2012–2015 Microsoft. All rights reserved.