|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExchangeAppointment
This interface is used to represent appointments in exchange.
Operations for instances of IExchangeAppointment
require
at least the following properties:
ICalendarItem.START_TIME
ICalendarItem.END_TIME
ICalendarItem.IS_RECURRING
IExchangeCalendarItem.RECURRENCE_PATTERN
IExchangeCalendarItem.TIMEZONE_INFO
Field Summary | |
---|---|
static Key |
ASSOCIATED_MASTER
The key representing the ID of the master appointment associated with an instance. |
static ItemClass |
CLASS
The ItemClass that represents an Exchange appointment. |
static Key |
INSTANCE_TYPE
The key representing the instance type. |
static int |
KEYID_ASSOCIATED_MASTER
The int ID for the ASSOCIATED_MASTER key. |
static int |
KEYID_INSTANCE_TYPE
The int ID for the INSTANCE_TYPE key. |
static int |
KEYID_ORGANIZER_NAME
The int ID for the ORGANIZER_NAME key. |
static int |
KEYID_SENT_DATE
The int ID for the SENT_DATE key. |
static Key |
ORGANIZER_NAME
The key representing the display name of the organizer for this appointment. |
static Key |
SENT_DATE
The key representing the date that the meeting was sent. |
Fields inherited from interface com.compoze.collab.groupware.ICalendarItem |
---|
BUSY_STATUS, DURATION, END_TIME, IS_ALL_DAY, IS_RECURRING, KEYID_BUSY_STATUS, KEYID_DURATION, KEYID_END_TIME, KEYID_IS_ALL_DAY, KEYID_IS_RECURRING, KEYID_LOCATION, KEYID_START_TIME, LOCATION, START_TIME |
Fields inherited from interface com.compoze.collab.groupware.IGroupwareItem |
---|
CATEGORIES, DATE_CREATED, DATE_LAST_MODIFIED, IMPORTANCE, KEYID_CATEGORIES, KEYID_DATE_CREATED, KEYID_DATE_LAST_MODIFIED, KEYID_IMPORTANCE, KEYID_SIZE, KEYID_SUBJECT, SIZE, SUBJECT |
Fields inherited from interface com.compoze.collab.messaging.IMessagingItem |
---|
BODY, BODY_HTML, KEYID_BODY, KEYID_BODY_HTML |
Fields inherited from interface com.compoze.collab.IItem |
---|
ID, ITEM_CLASS, KEYID_ID, KEYID_ITEM_CLASS, KEYID_PARENT_ID, MINIMUM_ITEM_KEYS, PARENT_ID |
Fields inherited from interface com.compoze.collab.exchange.IExchangeItem |
---|
CONTACT_NAMES, CREATOR_ENTRYID, FLAG, FLAG_REMIND_BY, FLAG_TEXT, HAS_REMINDER, HIDE_ATTACHMENTS, ICON_INDEX, IS_HIDDEN, KEYID_CONTACT_NAMES, KEYID_CREATOR_ENTRYID, KEYID_FLAG, KEYID_FLAG_REMIND_BY, KEYID_FLAG_TEXT, KEYID_HAS_REMINDER, KEYID_HIDE_ATTACHMENTS, KEYID_ICON_INDEX, KEYID_IS_HIDDEN, KEYID_MILEAGE, KEYID_NORMALIZED_SUBJECT, KEYID_PRIORITY, KEYID_SENSITIVITY, KEYID_SUBJECT_PREFIX, MILEAGE, NORMALIZED_SUBJECT, PRIORITY, SENSITIVITY, SUBJECT_PREFIX |
Fields inherited from interface com.compoze.collab.IAttachmentSupport |
---|
ATTACHMENTS, HAS_ATTACHMENT, KEYID_ATTACHMENTS, KEYID_HAS_ATTACHMENT |
Fields inherited from interface com.compoze.collab.groupware.ICalendarItem |
---|
BUSY_STATUS, DURATION, END_TIME, IS_ALL_DAY, IS_RECURRING, KEYID_BUSY_STATUS, KEYID_DURATION, KEYID_END_TIME, KEYID_IS_ALL_DAY, KEYID_IS_RECURRING, KEYID_LOCATION, KEYID_START_TIME, LOCATION, START_TIME |
Fields inherited from interface com.compoze.collab.groupware.IGroupwareItem |
---|
CATEGORIES, DATE_CREATED, DATE_LAST_MODIFIED, IMPORTANCE, KEYID_CATEGORIES, KEYID_DATE_CREATED, KEYID_DATE_LAST_MODIFIED, KEYID_IMPORTANCE, KEYID_SIZE, KEYID_SUBJECT, SIZE, SUBJECT |
Fields inherited from interface com.compoze.collab.messaging.IMessagingItem |
---|
BODY, BODY_HTML, KEYID_BODY, KEYID_BODY_HTML |
Fields inherited from interface com.compoze.collab.IItem |
---|
ID, ITEM_CLASS, KEYID_ID, KEYID_ITEM_CLASS, KEYID_PARENT_ID, MINIMUM_ITEM_KEYS, PARENT_ID |
Method Summary | |
---|---|
IMeetingCancellation |
cancel()
Cancels the appointment, if isMeeting returns true. |
IMeetingCancellation |
cancel(IMailContainer container)
Cancels the appointment, if isMeeting returns true. |
IMeetingRequest |
createMeetingRequest(IMailContainer container)
Creates a meeting request for this appointment. |
InstanceType |
getInstanceType()
Gets the instance type of the appointment. |
IMailRecipient[] |
getOptionalAttendees()
Gets the invitees of a meeting that are optional to attend. |
IExchangeAddressEntry |
getOrganizer()
Gets the organizer of the appointment. |
java.lang.String |
getOrganizerName()
Gets the display name of the organizer for an appointment. |
IMailRecipient[] |
getRequiredAttendees()
Gets the invitees of a meeting that are required to attend. |
IMailRecipient[] |
getResources()
Gets the resources that are scheduled to be booked for a meeting. |
java.util.Date |
getSentDate()
Gets the date that this meeting was sent to the attendees. |
IExchangeAppointment |
getSeries()
Gets the 'series' appointment for this appointment, if it is recurring. |
IExchangeAppointment |
getSeries(FetchProfile profile)
Gets the 'series' appointment for this appointment, if it is recurring. |
boolean |
isMeeting()
Gets whether this appointment is a meeting. |
boolean |
isOrganizer()
Gets if the Exchange account associated with the ISession
is the creator, also known as the organizer, of a meeting. |
boolean |
isSpanning()
Gets whether this appointment is spanning. |
void |
setAllDayEvent(boolean bAllDayEvent)
Setting an Exchange appointment to an all day event will use the existing start and end dates. |
void |
setRecurrencePattern(AppointmentRecurrencePattern pattern,
ExchangeTimeZone timezone)
Sets the recurrence pattern on the appointment. |
Methods inherited from interface com.compoze.collab.groupware.IAppointment |
---|
cancel, setAllDayEvent, setBusyStatus, setDates, setLocation |
Methods inherited from interface com.compoze.collab.groupware.ICalendarItem |
---|
getBusyStatus, getDuration, getEndTime, getLocation, getStartTime, isAllDayEvent, isRecurring |
Methods inherited from interface com.compoze.collab.groupware.IGroupwareItem |
---|
getBodyHtml, getBodyHtml, getCategories, getDateCreated, getDateLastModified, getImportance, getNormalizedSubject, getSize, getSubject, getSubject, getSubjectPrefix, setBodyHtml, setCategories, setImportance, setSubject |
Methods inherited from interface com.compoze.collab.messaging.IMessagingItem |
---|
getBody, setBody |
Methods inherited from interface com.compoze.collab.IItem |
---|
commit, containsKey, containsKey, copyProperties, copyTo, delete, fetchProperties, getAttribute, getEnum, getID, getInputStream, getItemClass, getOutputStream, getParent, getParent, getParentID, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getReader, getRootContainer, getSession, getWriter, isMissing, moveTo, removeAttribute, removeProperty, setAttribute, setProperties, setProperty, setProperty, setProperty |
Methods inherited from interface com.compoze.collab.exchange.IExchangeCalendarItem |
---|
getExchangeTimeZone, getMeetingStatus, getRecurrencePattern, isRecurring |
Methods inherited from interface com.compoze.collab.exchange.IExchangeItem |
---|
getContactNames, getFlagStatus, getFlagText, getHideAttachments, getMileage, getPriority, getSensitivity, getSubjectPrefix, isHidden, setContactNames, setFlagStatus, setFlagText, setHideAttachments, setMileage, setPriority, setSensitivity, setSubjectPrefix |
Methods inherited from interface com.compoze.collab.IAttachmentSupport |
---|
addAttachment, getAttachment, getAttachmentCount, getAttachments, hasAttachment |
Methods inherited from interface com.compoze.collab.groupware.ICalendarItem |
---|
getBusyStatus, getDuration, getEndTime, getLocation, getStartTime, isAllDayEvent, isRecurring |
Methods inherited from interface com.compoze.collab.groupware.IGroupwareItem |
---|
getBodyHtml, getBodyHtml, getCategories, getDateCreated, getDateLastModified, getImportance, getNormalizedSubject, getSize, getSubject, getSubject, getSubjectPrefix, setBodyHtml, setCategories, setImportance, setSubject |
Methods inherited from interface com.compoze.collab.messaging.IMessagingItem |
---|
getBody, setBody |
Methods inherited from interface com.compoze.collab.IItem |
---|
commit, containsKey, containsKey, copyProperties, copyTo, delete, fetchProperties, getAttribute, getEnum, getID, getInputStream, getItemClass, getOutputStream, getParent, getParent, getParentID, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getReader, getRootContainer, getSession, getWriter, isMissing, moveTo, removeAttribute, removeProperty, setAttribute, setProperties, setProperty, setProperty, setProperty |
Field Detail |
---|
static final int KEYID_ASSOCIATED_MASTER
int
ID for the ASSOCIATED_MASTER
key.
static final int KEYID_ORGANIZER_NAME
int
ID for the ORGANIZER_NAME
key.
static final int KEYID_SENT_DATE
int
ID for the SENT_DATE
key.
static final int KEYID_INSTANCE_TYPE
int
ID for the INSTANCE_TYPE
key.
static final Key ASSOCIATED_MASTER
static final Key ORGANIZER_NAME
static final Key SENT_DATE
static final Key INSTANCE_TYPE
static final ItemClass CLASS
Method Detail |
---|
IMeetingCancellation cancel() throws CollaborationException
isMeeting
returns true. Creates
a meeting cancellation in the default drafts folder.
CollaborationException
- if there was an error canceling the appointmentisMeeting()
,
IExchangeCalendarItem.ASSOCIATED_APPOINTMENT_LINK
IMeetingCancellation cancel(IMailContainer container) throws CollaborationException
isMeeting
returns true. Creates
a meeting cancellation in the specified folder. The appointment is not removed
from the calendar after this method is finished executing. To remove it from
the calendar, delete it manually.
container
- the container to write the
IMeetingCancellation
to.
CollaborationException
- if there was an error canceling the appointmentisMeeting()
,
IMessage.RECIPIENTS
,
IExchangeCalendarItem.ASSOCIATED_APPOINTMENT_LINK
,
IItem.delete()
boolean isMeeting() throws CollaborationException
true
if this appointment is a meeting,
false
otherwise.
CollaborationException
- if there was an error determining if this
appointment is a meetingIExchangeCalendarItem.MEETING_STATUS
void setRecurrencePattern(AppointmentRecurrencePattern pattern, ExchangeTimeZone timezone) throws CollaborationException
If setting the pattern to AppointmentRecurrencePattern.NONE
, the
IS_RECURRING
becomes false
, otherwise,
IS_RECURRING
becomes true
.
pattern
- the pattern to set. A value of null
implies
AppointmentRecurrencePattern.NONE
.timezone
- the exchange timezone (not null
)
CollaborationException
- if there was an error setting the patternboolean isSpanning() throws CollaborationException
true
if this appointment has a duration of
at least 24 hours, but is not an all day event,
false
otherwise.
CollaborationException
- if there was a problem determining if the
appointment is spanning.ICalendarItem.DURATION
,
ICalendarItem.START_TIME
IExchangeAppointment getSeries() throws CollaborationException
See Also
. Uses the default keys for an
IExchangeAppointment
to fetch the 'series' appointment.
null
if the appointment is not recurring.
CollaborationException
- if there was an error getting the series.ICalendarItem.IS_RECURRING
,
ASSOCIATED_MASTER
IExchangeAppointment getSeries(FetchProfile profile) throws CollaborationException
See Also
.
profile
- the fetch profile to get the series.
null
if the appointment is not recurring
CollaborationException
- if there was an error getting the seriesICalendarItem.IS_RECURRING
,
ASSOCIATED_MASTER
IMeetingRequest createMeetingRequest(IMailContainer container) throws CollaborationException
See Also
section for required keys.
container
- the container to create the "draft" meeting request
in (not null
).
CollaborationException
- if there was a problem creating a meeting
request for this appointment in the specified folder.ICalendarItem.BUSY_STATUS
,
IExchangeCalendarItem.ASSOCIATED_APPOINTMENT_LINK
void setAllDayEvent(boolean bAllDayEvent) throws CollaborationException
setAllDayEvent
in interface IAppointment
bAllDayEvent
- if true
, sets this appointment
as an All Day Event. If false
, then removes the
All Day Event flag from this appointment.
CollaborationException
- if there was a problem setting the
all day event flag.ICalendarItem.START_TIME
,
ICalendarItem.END_TIME
IExchangeAddressEntry getOrganizer() throws CollaborationException
ORGANIZER_NAME
field to retrieve the organizer on more than
one appointment.
Retriving the organizer is only valid on appointments that are meetings.
null
if this
appointment is not a meeting or the organizer could not be found
in the GAL.
CollaborationException
- if there was an error getting the organizerisMeeting()
java.lang.String getOrganizerName() throws CollaborationException
null
if this
appointment is not a meeting.
CollaborationException
- if there was an error getting the
organizer's name.isMeeting()
,
ORGANIZER_NAME
boolean isOrganizer() throws CollaborationException
ISession
is the creator, also known as the organizer, of a meeting. This method may
impact performance due to the calculations involved and the specific
provider being used. Retrieving this property on a non-meeting will return
true
.
true
if the current session's Exchange account is the
organizer of the meeting or the appointment is not a meeting,
false
otherwise.
CollaborationException
- if there was an error retrieving the
associated Exchange account or the organizer of the meeting, or
the appointment is not a meeting.isMeeting()
IMailRecipient[] getRequiredAttendees() throws CollaborationException
IMessage.RECIPIENTS
key is required for this method. For
some Exchange providers, this key may be an expensive call and should not
be used in bulk in order to prevent performance issues.
CollaborationException
- if there was a problem retrieving the
required attendees.IMessage.RECIPIENTS
,
isMeeting()
IMailRecipient[] getOptionalAttendees() throws CollaborationException
IMessage.RECIPIENTS
key is required for this method. For
some Exchange providers, this key may be an expensive call and should not
be used in bulk in order to prevent performance issues.
CollaborationException
- if there was a problem retrieving the
optional attendees.IMessage.RECIPIENTS
,
isMeeting()
IMailRecipient[] getResources() throws CollaborationException
IMessage.RECIPIENTS
key is required for this method. For
some Exchange providers, this key may be an expensive call and should not
be used in bulk in order to prevent performance issues.
CollaborationException
- if there was a problem retrieving the
resources.IMessage.RECIPIENTS
,
isMeeting()
java.util.Date getSentDate() throws CollaborationException
null
if
this is not a meeting.
CollaborationException
- if there was a problem retrieving the
sent date.SENT_DATE
,
isMeeting()
InstanceType getInstanceType() throws CollaborationException
CollaborationException
- if there was an error getting the type.INSTANCE_TYPE
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |