Class CalendarActionResults
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.CalendarActionResults
-
public final class CalendarActionResults extends Object
Represents the results of an action performed on a calendar item or meeting message, such as accepting, tentatively accepting or declining a meeting request.
-
-
Constructor Summary
Constructors Constructor Description CalendarActionResults(Iterable<Item> items)Initializes a new instance of the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppointmentgetAppointment()Gets the meeting that was accepted, tentatively accepted or declined.MeetingCancellationgetMeetingCancellation()Gets the copy of the meeting cancellation message sent by the organizer to the attendees of a meeting when the meeting is cancelled.MeetingRequestgetMeetingRequest()Gets the meeting request that was moved to the Deleted Items folder as a result of an attendee accepting, tentatively accepting or declining a meeting request.MeetingResponsegetMeetingResponse()Gets the copy of the response that is sent to the organizer of a meeting when the meeting is accepted, tentatively accepted or declined by an attendee.
-
-
-
Constructor Detail
-
CalendarActionResults
public CalendarActionResults(Iterable<Item> items)
Initializes a new instance of the class.- Parameters:
items- the item
-
-
Method Detail
-
getAppointment
public Appointment getAppointment()
Gets the meeting that was accepted, tentatively accepted or declined.When a meeting is accepted or tentatively accepted via an Appointment object, EWS recreates the meeting, and Appointment represents that new version. When a meeting is accepted or tentatively accepted via a MeetingRequest object, EWS creates an associated meeting in the attendee's calendar and Appointment represents that meeting. When declining a meeting via an Appointment object, EWS moves the appointment to the attendee's Deleted Items folder and Appointment represents that moved copy. When declining a meeting via a MeetingRequest object, EWS creates an associated meeting in the attendee's Deleted Items folder, and Appointment represents that meeting. When a meeting is declined via either an Appointment or a MeetingRequest object from the Deleted Items folder, Appointment is null.
- Returns:
- appointment
-
getMeetingRequest
public MeetingRequest getMeetingRequest()
Gets the meeting request that was moved to the Deleted Items folder as a result of an attendee accepting, tentatively accepting or declining a meeting request. If the meeting request is accepted, tentatively accepted or declined from the Deleted Items folder, it is permanently deleted and MeetingRequest is null.- Returns:
- meetingRequest
-
getMeetingResponse
public MeetingResponse getMeetingResponse()
Gets the copy of the response that is sent to the organizer of a meeting when the meeting is accepted, tentatively accepted or declined by an attendee. MeetingResponse is null if the attendee chose not to send a response.- Returns:
- meetingResponse
-
getMeetingCancellation
public MeetingCancellation getMeetingCancellation()
Gets the copy of the meeting cancellation message sent by the organizer to the attendees of a meeting when the meeting is cancelled.- Returns:
- meetingCancellation
-
-