public class Appointment extends Item
| Constructor and Description |
|---|
Appointment()
Initializes a new instance of the Appointment class.
|
Appointment(MimeContent mimeContent)
Initializes a new instance of the Appointment class.
|
Appointment(java.lang.String subject)
Initializes a new instance of the Appointment class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAdjacentMeetingCount()
Gets the total number of appointments that are adjacent to a meeting time.
|
java.util.List<Item> |
getAdjacentMeetings()
Gets all appointments that are adjacent to a meeting time.
|
boolean |
getAllowNewTimeProposal()
Gets whether a new meeting time can be proposed for a meeting by an attendee.
|
BusyStatus |
getBusyStatus()
Gets the free/busy status of the appointment.
|
java.util.Date |
getCommonEndTime()
Gets the common end time.
|
java.util.Date |
getCommonStartTime()
Gets the common start time.
|
int |
getConferenceType()
Gets the type of conferencing that is performed with the appointment.
|
int |
getConflictingMeetingCount()
Gets the number of meetings that conflict with the meetings.
|
java.util.List<Item> |
getConflictingMeetings()
Gets all items that conflict with a meeting time.
|
java.util.Date |
getDateTimeStamp()
Gets the date and time that an instance of the appointment object was created.
|
java.util.List<DeletedOccurrence> |
getDeletedOccurrences()
Gets an array of deleted occurrences of a recurring appointment.
|
java.lang.String |
getDuration()
Gets the duration of the appointment.
|
java.util.Date |
getEndTime()
Gets the end of the appointment.
|
TimeZoneDefinition |
getEndTimeZone()
Gets the end time zone of the appointment.
|
java.util.Date |
getEndWallClock()
Gets the end time of a meeting in the time zone of the location in which the meeting takes place.
|
EnhancedLocation |
getEnhancedLocation()
Gets location information such as the name, address, and optional notes about a location.
|
Occurrence |
getFirstOccurrence()
Gets the first occurrence.
|
InstanceType |
getInstanceType()
Gets the occurrence type of the appointment.
|
java.lang.String |
getJoinOnlineMeetingUrl()
Gets the URL to join an online meeting.
|
int |
getLabel()
Gets the label.
|
Occurrence |
getLastOccurrence()
Gets the last occurrence of a recurring appointment.
|
LegacyFreeBusy |
getLegacyFreeBusy()
Gets the free/busy status of the appointment.
|
java.lang.String |
getLocation()
Gets the location of the appointment.
|
boolean |
getMeetingRequestWasSent()
Gets whether a meeting request has been sent to requested attendees.
|
MeetingStatus |
getMeetingStatus()
Gets the meeting status.
|
TimeZone |
getMeetingTimeZone()
Gets the time zone of the location where the meeting is hosted.
|
java.lang.String |
getMeetingWorkspaceUrl()
Gets the URL for the meeting workspace that is linked to by the appointment.
|
java.util.List<Occurrence> |
getModifiedOccurrences()
Gets an array of recurring appointment occurrences that have been modified so that they differ from the recurrence master item.
|
ResponseType |
getMyResponse()
Gets the status of or response to the appointment.
|
java.lang.String |
getNetShowUrl()
Gets the URL for a Microsoft NetShow online meeting.
|
OnlineMeetingSettings |
getOnlineMeetingSettings()
Gets the settings for online meetings.
|
java.util.List<Attendee> |
getOptionalAttendees()
Gets a scheduled resource for the appointment.
|
Mailbox |
getOrganizer()
Gets the organizer of the appointment.
|
java.util.Date |
getOriginalStartTime()
Gets the original start time of the appointment.
|
Priority |
getPriority()
Gets the priority.
|
Recurrence |
getRecurrence()
Gets the recurrence pattern for appointment and meeting requests.
|
java.util.Date |
getRecurrenceEnd()
Gets the recurrence end.
|
java.util.Date |
getRecurrenceId()
Gets id of a specific instance of a recurring appointment.
|
java.lang.String |
getRecurrencePattern()
Gets the recurrence pattern.
|
java.util.Date |
getRecurrenceStart()
Gets the recurrence start.
|
java.util.Date |
getReminderNextTime()
Gets the date and time for the next reminder.
|
boolean |
getReminderOverrideDefault()
Gets the reminder override default.
|
boolean |
getReminderPlaySound()
Gets the reminder play sound.
|
java.lang.String |
getReminderSoundFile()
Gets the reminder sound file.
|
java.util.Date |
getReplyTime()
Gets the date and time when an attendee replied to a meeting request.
|
java.util.List<Attendee> |
getRequiredAttendees()
Gets attendees that are required to attend the appointment.
|
java.util.List<Attendee> |
getResources()
Gets a scheduled resource for the appointment.
|
ResponseStatus |
getResponseStatus()
Gets the response status.
|
int |
getSequenceNumber()
Gets the sequence number of a version of the appointment.
|
java.util.Date |
getStartTime()
Gets the start of the appointment.
|
TimeZoneDefinition |
getStartTimeZone()
Gets the start time zone of the appointment.
|
java.util.Date |
getStartWallClock()
Gets the start time of a meeting in the time zone of the location in which the meeting takes place.
|
int |
getState()
Gets the status of the appointment.
|
java.lang.String |
getTimeZone()
Gets a text description of a time zone.
|
java.lang.String |
getUid()
Gets id of the appointment.
|
java.lang.String |
getWhen()
Gets information about when the appointment occurs.
|
boolean |
isAllDayEvent()
Gets whether the appointment an all-day event.
|
boolean |
isCancelled()
Gets whether the appointment has been canceled.
|
boolean |
isMeeting()
Gets whether the item is a meeting or appointment.
|
boolean |
isOnlineMeeting()
Gets whether the meeting is online.
|
boolean |
isPrivate()
Checks if is private.
|
boolean |
isRecurring()
Gets whether the appointment is part of a recurring item.
|
boolean |
isResponseRequested()
Gets whether a response to an item is required.
|
void |
setAllDayEvent(boolean isAllDayEvent)
Sets whether the appointment an all-day event.
|
void |
setAllowNewTimeProposal(boolean allowNewTimeProposal)
Sets whether a new meeting time can be proposed for a meeting by an attendee.
|
void |
setBusyStatus(BusyStatus busyStatus)
Sets the free/busy status of the appointment.
|
void |
setCommonEndTime(java.util.Date commonEndTime)
Sets the common end time.
|
void |
setCommonStartTime(java.util.Date commonStartTime)
Sets the common start time.
|
void |
setConferenceType(int conferenceType)
Sets the type of conferencing that is performed with the appointment.
|
void |
setEndTime(java.util.Date endTime)
Sets the end of the appointment.
|
void |
setEndTimeZone(TimeZoneDefinition endTimeZone)
Sets the end time zone of the appointment.
|
void |
setEnhancedLocation(EnhancedLocation enhancedLocation)
Sets location information such as the name, address, and optional notes about a location.
|
void |
setJoinOnlineMeetingUrl(java.lang.String joinOnlineMeetingUrl)
Sets the URL to join an online meeting.
|
void |
setLabel(int label)
Sets the label.
|
void |
setLegacyFreeBusy(LegacyFreeBusy legacyFreeBusyStatus)
Sets the free/busy status of the appointment.
|
void |
setLocation(java.lang.String location)
Sets the location of the appointment.
|
void |
setMeetingStatus(MeetingStatus meetingStatus)
Sets the meeting status.
|
void |
setMeetingTimeZone(TimeZone meetingTimeZone)
Sets the time zone of the location where the meeting is hosted.
|
void |
setMeetingWorkspaceUrl(java.lang.String meetingWorkspaceUrl)
Sets the URL for the meeting workspace that is linked to by the appointment.
|
void |
setNetShowUrl(java.lang.String netShowUrl)
Sets the URL for a Microsoft NetShow online meeting.
|
void |
setOnlineMeeting(boolean isOnlineMeeting)
Sets whether the meeting is online.
|
void |
setOnlineMeetingSettings(OnlineMeetingSettings onlineMeetingSettings)
Sets the settings for online meetings.
|
void |
setPriority(Priority priority)
Sets the priority.
|
void |
setPrivate(boolean isPrivate)
Sets the private.
|
void |
setRecurrence(Recurrence recurrence)
Sets the recurrence pattern for appointment and meeting requests.
|
void |
setRecurrenceEnd(java.util.Date recurrenceEnd)
Sets the recurrence end.
|
void |
setRecurrencePattern(java.lang.String recurrencePattern)
Sets the recurrence pattern.
|
void |
setRecurrenceStart(java.util.Date recurrenceStart)
Sets the recurrence start.
|
void |
setReminderNextTime(java.util.Date reminderNextTime)
Sets the date and time for the next reminder.
|
void |
setReminderOverrideDefault(boolean reminderOverrideDefault)
Sets the reminder override default.
|
void |
setReminderPlaySound(boolean reminderPlaySound)
Sets the reminder play sound.
|
void |
setReminderSoundFile(java.lang.String reminderSoundFile)
Sets the reminder sound file.
|
void |
setResponseRequested(boolean isResponseRequested)
Sets whether a response to an item is required.
|
void |
setResponseStatus(ResponseStatus responseStatus)
Sets the response status.
|
void |
setStartTime(java.util.Date startTime)
Sets the start of the appointment.
|
void |
setStartTimeZone(TimeZoneDefinition startTimeZone)
Sets the start time zone of the appointment.
|
void |
setUid(java.lang.String uid)
Sets id of the appointment
|
void |
setWhen(java.lang.String when)
Sets information about when the appointment occurs.
|
java.lang.String |
toString()
Converts the value of the current Item object to its equivalent string representation.
|
getArchiveTag, getAttachments, getBody, getBodyHtmlText, getBodyPlainText, getBodyRtf, getCategories, getComment, getConversationId, getCreatedTime, getCulture, getDisplayName, getEffectiveRights, getEntityExtractionResult, getEntryId, getExtendedProperties, getExtendedProperty, getFlag, getGroupingAction, getIconIndex, getImportance, getInstanceKey, getItemClass, getItemId, getLastModifiedTime, getLastModifierName, getMimeContent, getNextPredictedAction, getParentId, getPreview, getReminderDueBy, getReminderIsSet, getReminderMinutesBeforeStart, getRetentionDate, getRetentionTag, getRtfCompressed, getSearchKey, getSensitivity, getSize, getStoreEntryId, getSubject, getTextBody, getUniqueBody, getWebClientEditFormQueryString, getWebClientReadFormQueryString, hasAttachments, hasBlockedImages, isAssociated, isBlockStatus, isHidden, setArchiveTag, setBody, setBodyRtf, setCategories, setComment, setDisplayName, setEffectiveRights, setFlag, setHidden, setImportance, setItemClass, setMimeContent, setReminderDueBy, setReminderIsSet, setReminderMinutesBeforeStart, setRetentionDate, setRetentionTag, setRtfCompressed, setSensitivity, setSubjectpublic Appointment()
public Appointment(java.lang.String subject)
subject - the subjectpublic Appointment(MimeContent mimeContent)
mimeContent - the mime contentpublic java.lang.String toString()
Itempublic java.util.Date getReminderNextTime()
public void setReminderNextTime(java.util.Date reminderNextTime)
reminderNextTime - the new reminder next timepublic java.util.Date getStartWallClock()
public java.util.Date getEndWallClock()
public java.lang.String getUid()
public void setUid(java.lang.String uid)
public java.util.Date getRecurrenceId()
public java.util.Date getDateTimeStamp()
public java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime - the new start timepublic java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
endTime - the new end timepublic java.util.Date getOriginalStartTime()
public boolean isAllDayEvent()
public void setAllDayEvent(boolean isAllDayEvent)
isAllDayEvent - the new all day eventpublic LegacyFreeBusy getLegacyFreeBusy()
public void setLegacyFreeBusy(LegacyFreeBusy legacyFreeBusyStatus)
legacyFreeBusyStatus - the new legacy free busypublic java.lang.String getLocation()
public void setLocation(java.lang.String location)
location - the new locationpublic java.lang.String getWhen()
public void setWhen(java.lang.String when)
when - the new whenpublic boolean isMeeting()
public boolean isCancelled()
public boolean isRecurring()
public boolean getMeetingRequestWasSent()
public boolean isResponseRequested()
public void setResponseRequested(boolean isResponseRequested)
isResponseRequested - the new response requestedpublic InstanceType getInstanceType()
public ResponseType getMyResponse()
public Mailbox getOrganizer()
public java.util.List<Attendee> getRequiredAttendees()
public java.util.List<Attendee> getOptionalAttendees()
public java.util.List<Attendee> getResources()
public int getConflictingMeetingCount()
public int getAdjacentMeetingCount()
public java.util.List<Item> getConflictingMeetings()
public java.util.List<Item> getAdjacentMeetings()
public java.lang.String getDuration()
public java.lang.String getTimeZone()
public java.util.Date getReplyTime()
public int getSequenceNumber()
public int getState()
public Recurrence getRecurrence()
public void setRecurrence(Recurrence recurrence)
recurrence - the new recurrencepublic Occurrence getFirstOccurrence()
public Occurrence getLastOccurrence()
public java.util.List<Occurrence> getModifiedOccurrences()
public java.util.List<DeletedOccurrence> getDeletedOccurrences()
public TimeZone getMeetingTimeZone()
public void setMeetingTimeZone(TimeZone meetingTimeZone)
meetingTimeZone - the new meeting time zonepublic TimeZoneDefinition getStartTimeZone()
public void setStartTimeZone(TimeZoneDefinition startTimeZone)
startTimeZone - the new start time zonepublic TimeZoneDefinition getEndTimeZone()
public void setEndTimeZone(TimeZoneDefinition endTimeZone)
endTimeZone - the new end time zonepublic int getConferenceType()
public void setConferenceType(int conferenceType)
conferenceType - the new conference typepublic boolean getAllowNewTimeProposal()
public void setAllowNewTimeProposal(boolean allowNewTimeProposal)
allowNewTimeProposal - the new allow new time proposalpublic boolean isOnlineMeeting()
public void setOnlineMeeting(boolean isOnlineMeeting)
isOnlineMeeting - the new online meetingpublic java.lang.String getMeetingWorkspaceUrl()
public void setMeetingWorkspaceUrl(java.lang.String meetingWorkspaceUrl)
meetingWorkspaceUrl - the new meeting workspace urlpublic java.lang.String getNetShowUrl()
public void setNetShowUrl(java.lang.String netShowUrl)
netShowUrl - the new net show urlpublic EnhancedLocation getEnhancedLocation()
public void setEnhancedLocation(EnhancedLocation enhancedLocation)
enhancedLocation - the new enhanced locationpublic java.lang.String getJoinOnlineMeetingUrl()
public void setJoinOnlineMeetingUrl(java.lang.String joinOnlineMeetingUrl)
joinOnlineMeetingUrl - the new join online meeting urlpublic OnlineMeetingSettings getOnlineMeetingSettings()
public void setOnlineMeetingSettings(OnlineMeetingSettings onlineMeetingSettings)
onlineMeetingSettings - the new online meeting settingspublic BusyStatus getBusyStatus()
public void setBusyStatus(BusyStatus busyStatus)
busyStatus - the new busy statuspublic MeetingStatus getMeetingStatus()
public void setMeetingStatus(MeetingStatus meetingStatus)
meetingStatus - the new meeting statuspublic ResponseStatus getResponseStatus()
public void setResponseStatus(ResponseStatus responseStatus)
responseStatus - the new response statuspublic boolean isPrivate()
public void setPrivate(boolean isPrivate)
isPrivate - the new privatepublic java.util.Date getCommonStartTime()
public void setCommonStartTime(java.util.Date commonStartTime)
commonStartTime - the new common start timepublic java.util.Date getCommonEndTime()
public void setCommonEndTime(java.util.Date commonEndTime)
commonEndTime - the new common end timepublic boolean getReminderOverrideDefault()
public void setReminderOverrideDefault(boolean reminderOverrideDefault)
reminderOverrideDefault - the new reminder override defaultpublic boolean getReminderPlaySound()
public void setReminderPlaySound(boolean reminderPlaySound)
reminderPlaySound - the new reminder play soundpublic java.lang.String getReminderSoundFile()
public void setReminderSoundFile(java.lang.String reminderSoundFile)
reminderSoundFile - the new reminder sound filepublic int getLabel()
public void setLabel(int label)
label - the new labelpublic java.lang.String getRecurrencePattern()
public void setRecurrencePattern(java.lang.String recurrencePattern)
recurrencePattern - the new recurrence patternpublic java.util.Date getRecurrenceStart()
public void setRecurrenceStart(java.util.Date recurrenceStart)
recurrenceStart - the new recurrence startpublic java.util.Date getRecurrenceEnd()
public void setRecurrenceEnd(java.util.Date recurrenceEnd)
recurrenceEnd - the new recurrence endpublic Priority getPriority()
public void setPriority(Priority priority)
priority - the new priority