|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ServiceObject
microsoft.exchange.webservices.data.Item
microsoft.exchange.webservices.data.EmailMessage
microsoft.exchange.webservices.data.MeetingMessage
microsoft.exchange.webservices.data.MeetingRequest
public class MeetingRequest
Represents a meeting request that an attendee can accept or decline. Properties available on meeting requests are defined in the MeetingRequestSchema class.
| Constructor Summary | |
|---|---|
protected |
MeetingRequest(ExchangeService service)
Initializes a new instance of the class. |
protected |
MeetingRequest(ItemAttachment parentAttachment)
Initializes a new instance of the class. |
| Method Summary | |
|---|---|
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 properties. |
static MeetingRequest |
bind(ExchangeService service,
ItemId id,
PropertySet propertySet)
Binds to an existing meeting response and loads the specified set of properties. |
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. |
int |
getAppoijntmentSequenceNumber()
Gets the sequence number of this appointment. |
Date |
getAppointmentReplyTime()
Gets the time when the attendee replied to the meeting request. |
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. |
protected 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. |
protected 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. |
| Methods inherited from class microsoft.exchange.webservices.data.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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected MeetingRequest(ItemAttachment parentAttachment)
throws Exception
parentAttachment - The parent attachment
Exception - throws Exception
protected MeetingRequest(ExchangeService service)
throws Exception
service - EWS service to which this object belongs.
Exception - throws Exception| Method Detail |
|---|
public 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 properties 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.
protected ServiceObjectSchema getSchema()
getSchema in class MeetingMessageprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class MeetingMessagepublic AcceptMeetingInvitationMessage createAcceptMessage(boolean tentative)
tentative - Specifies whether the meeting will be tentatively accepted.
public DeclineMeetingInvitationMessage createDeclineMessage()
public CalendarActionResults accept(boolean sendResponse)
throws Exception
sendResponse - Indicates whether to send a response to the organizer.
Exception - throws Exception
public CalendarActionResults acceptTentatively(boolean sendResponse)
throws Exception
sendResponse - Indicates whether to send a response to the organizer.
Exception - throws Exception
protected 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 Exception
public CalendarActionResults decline(boolean sendResponse)
throws Exception
sendResponse - Indicates whether to send a response to the organizer.
Exception - throws Exception
public MeetingRequestType getMeetingRequestType()
throws ServiceLocalException
ServiceLocalException - the service local exception
public LegacyFreeBusyStatus getIntendedFreeBusyStatus()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Date getStart()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Date getEnd()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Date getOriginalStart()
throws ServiceLocalException
ServiceLocalException - the service local exception
public boolean getIsAllDayEvent()
throws ServiceLocalException
ServiceLocalException - the service local exception
public LegacyFreeBusyStatus legacyFreeBusyStatus()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getLocation()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getWhen()
throws ServiceLocalException
ServiceLocalException - the service local exception
public boolean getIsMeeting()
throws ServiceLocalException
ServiceLocalException - the service local exception
public boolean getIsCancelled()
throws ServiceLocalException
ServiceLocalException - the service local exception
public boolean getIsRecurring()
throws ServiceLocalException
ServiceLocalException - the service local exception
public boolean getMeetingRequestWasSent()
throws ServiceLocalException
ServiceLocalException - the service local exception
public AppointmentType getAppointmentType()
throws ServiceLocalException
ServiceLocalException - the service local exception
public MeetingResponseType getMyResponseType()
throws ServiceLocalException
ServiceLocalException - the service local exception
public EmailAddress getOrganizer()
throws ServiceLocalException
ServiceLocalException - the service local exception
public AttendeeCollection getRequiredAttendees()
throws ServiceLocalException
ServiceLocalException - the service local exception
public AttendeeCollection getOptionalAttendees()
throws ServiceLocalException
ServiceLocalException - the service local exception
public AttendeeCollection getResources()
throws ServiceLocalException
ServiceLocalException - the service local exception
public int getConflictingMeetingCount()
throws NumberFormatException,
ServiceLocalException
NumberFormatException - the number format exception
ServiceLocalException - the service local exception
public int getAdjacentMeetingCount()
throws NumberFormatException,
ServiceLocalException
NumberFormatException - the number format exception
ServiceLocalException - the service local exception
public ItemCollection<Appointment> getConflictingMeetings()
throws ServiceLocalException
ServiceLocalException - the service local exception
public ItemCollection<Appointment> getAdjacentMeetings()
throws ServiceLocalException
ServiceLocalException - the service local exception
public TimeSpan getDuration()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getTimeZone()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Date getAppointmentReplyTime()
throws ServiceLocalException
ServiceLocalException - the service local exception
public int getAppoijntmentSequenceNumber()
throws NumberFormatException,
ServiceLocalException
NumberFormatException - the number format exception
ServiceLocalException - the service local exception
public int getAppointmentState()
throws NumberFormatException,
ServiceLocalException
NumberFormatException - the number format exception
ServiceLocalException - the service local exception
public Recurrence getRecurrence()
throws ServiceLocalException
ServiceLocalException - the service local exception
public OccurrenceInfo getFirstOccurrence()
throws ServiceLocalException
ServiceLocalException - the service local exception
public OccurrenceInfo getLastOccurrence()
throws ServiceLocalException
ServiceLocalException - the service local exception
public OccurrenceInfoCollection getModifiedOccurrences()
throws ServiceLocalException
ServiceLocalException - the service local exception
public DeletedOccurrenceInfoCollection getDeletedOccurrences()
throws ServiceLocalException
ServiceLocalException - the service local exception
public TimeZoneDefinition getStartTimeZone()
throws ServiceLocalException
ServiceLocalException - the service local exception
public TimeZoneDefinition getEndTimeZone()
throws ServiceLocalException
ServiceLocalException - the service local exception
public int getConferenceType()
throws NumberFormatException,
ServiceLocalException
NumberFormatException - the number format exception
ServiceLocalException - the service local exception
public boolean getAllowNewTimeProposal()
throws ServiceLocalException
ServiceLocalException - the service local exception
public boolean getIsOnlineMeeting()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getMeetingWorkspaceUrl()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getNetShowUrl()
throws ServiceLocalException
ServiceLocalException - the service local exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||