|
||||||||
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. |
java.util.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. |
java.util.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. |
java.lang.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. |
java.lang.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. |
java.lang.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. |
java.util.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. |
java.util.Date |
getStart()
Gets the start time of the appointment. |
TimeZoneDefinition |
getStartTimeZone()
Gets time zone of the start property of this meeting request. |
java.lang.String |
getTimeZone()
Gets the name of the time zone this appointment is defined in. |
java.lang.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 java.lang.Exception
parentAttachment
- The parent attachment
java.lang.Exception
- throws Exceptionprotected MeetingRequest(ExchangeService service) throws java.lang.Exception
service
- EWS service to which this object belongs.
java.lang.Exception
- throws ExceptionMethod 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 MeetingMessage
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class MeetingMessage
public AcceptMeetingInvitationMessage createAcceptMessage(boolean tentative)
tentative
- Specifies whether the meeting will be tentatively accepted.
public DeclineMeetingInvitationMessage createDeclineMessage()
public CalendarActionResults accept(boolean sendResponse) throws java.lang.Exception
sendResponse
- Indicates whether to send a response to the organizer.
java.lang.Exception
- throws Exceptionpublic CalendarActionResults acceptTentatively(boolean sendResponse) throws java.lang.Exception
sendResponse
- Indicates whether to send a response to the organizer.
java.lang.Exception
- throws Exceptionprotected CalendarActionResults internalAccept(boolean tentative, boolean sendResponse) throws java.lang.Exception
tentative
- True if tentative accept.sendResponse
- Indicates whether to send a response to the organizer.
java.lang.Exception
- throws Exceptionpublic CalendarActionResults decline(boolean sendResponse) throws java.lang.Exception
sendResponse
- Indicates whether to send a response to the organizer.
java.lang.Exception
- throws Exceptionpublic MeetingRequestType getMeetingRequestType() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic LegacyFreeBusyStatus getIntendedFreeBusyStatus() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic java.util.Date getStart() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic java.util.Date getEnd() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic java.util.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 java.lang.String getLocation() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic java.lang.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 java.lang.NumberFormatException, ServiceLocalException
java.lang.NumberFormatException
- the number format exception
ServiceLocalException
- the service local exceptionpublic int getAdjacentMeetingCount() throws java.lang.NumberFormatException, ServiceLocalException
java.lang.NumberFormatException
- the number format exception
ServiceLocalException
- 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 java.lang.String getTimeZone() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic java.util.Date getAppointmentReplyTime() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic int getAppoijntmentSequenceNumber() throws java.lang.NumberFormatException, ServiceLocalException
java.lang.NumberFormatException
- the number format exception
ServiceLocalException
- the service local exceptionpublic int getAppointmentState() throws java.lang.NumberFormatException, ServiceLocalException
java.lang.NumberFormatException
- the number format exception
ServiceLocalException
- 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 java.lang.NumberFormatException, ServiceLocalException
java.lang.NumberFormatException
- the number format exception
ServiceLocalException
- the service local exceptionpublic boolean getAllowNewTimeProposal() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic boolean getIsOnlineMeeting() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic java.lang.String getMeetingWorkspaceUrl() throws ServiceLocalException
ServiceLocalException
- the service local exceptionpublic java.lang.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 |