BEA Systems, Inc.

com.compoze.collab.exchange
Interface IExchangeItem

All Superinterfaces:
IAttachmentSupport
All Known Subinterfaces:
IDeliveryReport, IExchangeAppointment, IExchangeCalendarItem, IExchangeContact, IExchangeMessage, IExchangeNonDeliveryReport, IExchangeTask, IMapiAppointment, IMapiTask, IMapiTaskRequest, IMeetingCancellation, IMeetingNotice, IMeetingNoticeAccepted, IMeetingNoticeDeclined, IMeetingNoticeTentative, IMeetingRequest, ITaskNotice, ITaskRequest

public interface IExchangeItem
extends IAttachmentSupport

This interface is used to define an item in exchange.


Field Summary
static Key CONTACT_NAMES
          Key that represents the contact names for an item.
static Key CREATOR_ENTRYID
          Key that represents the creator entry ID of an item.
static Key FLAG
          Key that represents the flag on a message as a FlagStatus.
static Key FLAG_REMIND_BY
          Key that represents the reminder date for an item that is used to display reminder messages in Microsoft Outlook.
static Key FLAG_TEXT
          Key that represents the flag text for aan Exchange item as a FlagText.
static Key HAS_REMINDER
          The key representing if a reminder is set on the Exchange item.
static Key HIDE_ATTACHMENTS
          Key that represents whether attachments are hidden.
static Key ICON_INDEX
          Key that represents the icon index value for an Exchange item.
static Key IS_HIDDEN
          Key that represents when an item is hidden.
static int KEYID_CONTACT_NAMES
          The int ID for the CONTACT_NAMES key.
static int KEYID_CREATOR_ENTRYID
          The int ID for the CREATOR_ENTRYID key.
static int KEYID_FLAG
          The int ID for the FLAG key.
static int KEYID_FLAG_REMIND_BY
          The int ID for the FLAG_REMIND_BY key.
static int KEYID_FLAG_TEXT
          The int ID for the FLAG_TEXT key.
static int KEYID_HAS_REMINDER
          The int ID for the HAS_REMINDER key.
static int KEYID_HIDE_ATTACHMENTS
          The int ID for the HIDE_ATTACHMENTS key.
static int KEYID_ICON_INDEX
          The int ID for the ICON_INDEX key.
static int KEYID_IS_HIDDEN
          The int ID for the IS_HIDDEN key.
static int KEYID_MILEAGE
          The int ID for the MILEAGE key.
static int KEYID_NORMALIZED_SUBJECT
          The int ID for the NORMALIZED_SUBJECT key.
static int KEYID_PRIORITY
          The int ID for the PRIORITY key.
static int KEYID_SENSITIVITY
          The int ID for the SENSITIVITY key.
static int KEYID_SUBJECT_PREFIX
          The int ID for the FLAG_REMIND_BY key.
static Key MILEAGE
          Key that represents the mileage for an Exchange item.
static Key NORMALIZED_SUBJECT
          Key that represents the normalized subject of an Exchange item.
static Key PRIORITY
          Key that represents the priority of an item.
static Key SENSITIVITY
          Key that represents the sensitivity of an item.
static Key SUBJECT_PREFIX
          The key representing if a reminder is set on the Exchange item.
 
Fields inherited from interface com.compoze.collab.IAttachmentSupport
ATTACHMENTS, HAS_ATTACHMENT, KEYID_ATTACHMENTS, KEYID_HAS_ATTACHMENT
 
Method Summary
 java.lang.String[] getContactNames()
          Gets the contact names.
 FlagStatus getFlagStatus()
          Gets the flag status.
 java.lang.String getFlagText()
          Gets the flag text.
 boolean getHideAttachments()
          Gets whether attachments are hidden.
 java.lang.String getMileage()
          Gets the mileage.
 Priority getPriority()
          Gets the priority of the item.
 Sensitivity getSensitivity()
          Gets the sensiivity of the item.
 java.lang.String getSubjectPrefix()
          Gets whether attachments are hidden.
 boolean isHidden()
          Gets the hidden status of the item.
 void setContactNames(java.lang.String[] sContactNames)
          Sets the contact names.
 void setFlagStatus(FlagStatus flagStatus)
          Sets the flag status level.
 void setFlagText(java.lang.String sFlagText)
          Sets the flag status level.
 void setHideAttachments(boolean bHidden)
          Sets whether attachments should be hidden.
 void setMileage(java.lang.String sMileage)
          Sets the mileage.
 void setPriority(Priority priority)
          Sets the priority of the item.
 void setSensitivity(Sensitivity sensitivity)
          Sets the sensiivity of the item.
 void setSubjectPrefix(java.lang.String sPrefix)
          Sets the subject prefix of an Exchange item.
 
Methods inherited from interface com.compoze.collab.IAttachmentSupport
addAttachment, getAttachment, getAttachmentCount, getAttachments, hasAttachment
 

Field Detail

KEYID_CONTACT_NAMES

static final int KEYID_CONTACT_NAMES
The int ID for the CONTACT_NAMES key.

See Also:
Constant Field Values

KEYID_IS_HIDDEN

static final int KEYID_IS_HIDDEN
The int ID for the IS_HIDDEN key.

See Also:
Constant Field Values

KEYID_HAS_REMINDER

static final int KEYID_HAS_REMINDER
The int ID for the HAS_REMINDER key.

See Also:
Constant Field Values

KEYID_PRIORITY

static final int KEYID_PRIORITY
The int ID for the PRIORITY key.

See Also:
Constant Field Values

KEYID_SENSITIVITY

static final int KEYID_SENSITIVITY
The int ID for the SENSITIVITY key.

See Also:
Constant Field Values

KEYID_CREATOR_ENTRYID

static final int KEYID_CREATOR_ENTRYID
The int ID for the CREATOR_ENTRYID key.

See Also:
Constant Field Values

KEYID_HIDE_ATTACHMENTS

static final int KEYID_HIDE_ATTACHMENTS
The int ID for the HIDE_ATTACHMENTS key.

See Also:
Constant Field Values

KEYID_FLAG_REMIND_BY

static final int KEYID_FLAG_REMIND_BY
The int ID for the FLAG_REMIND_BY key.

See Also:
Constant Field Values

KEYID_SUBJECT_PREFIX

static final int KEYID_SUBJECT_PREFIX
The int ID for the FLAG_REMIND_BY key.

See Also:
Constant Field Values

KEYID_MILEAGE

static final int KEYID_MILEAGE
The int ID for the MILEAGE key.

See Also:
Constant Field Values

KEYID_FLAG

static final int KEYID_FLAG
The int ID for the FLAG key.

See Also:
Constant Field Values

KEYID_FLAG_TEXT

static final int KEYID_FLAG_TEXT
The int ID for the FLAG_TEXT key.

See Also:
Constant Field Values

KEYID_ICON_INDEX

static final int KEYID_ICON_INDEX
The int ID for the ICON_INDEX key.

See Also:
Constant Field Values

KEYID_NORMALIZED_SUBJECT

static final int KEYID_NORMALIZED_SUBJECT
The int ID for the NORMALIZED_SUBJECT key.

See Also:
Constant Field Values

CONTACT_NAMES

static final Key CONTACT_NAMES
Key that represents the contact names for an item.


IS_HIDDEN

static final Key IS_HIDDEN
Key that represents when an item is hidden.


SENSITIVITY

static final Key SENSITIVITY
Key that represents the sensitivity of an item.


PRIORITY

static final Key PRIORITY
Key that represents the priority of an item.


CREATOR_ENTRYID

static final Key CREATOR_ENTRYID
Key that represents the creator entry ID of an item.


HIDE_ATTACHMENTS

static final Key HIDE_ATTACHMENTS
Key that represents whether attachments are hidden.


FLAG_REMIND_BY

static final Key FLAG_REMIND_BY
Key that represents the reminder date for an item that is used to display reminder messages in Microsoft Outlook.


HAS_REMINDER

static final Key HAS_REMINDER
The key representing if a reminder is set on the Exchange item.


SUBJECT_PREFIX

static final Key SUBJECT_PREFIX
The key representing if a reminder is set on the Exchange item.


MILEAGE

static final Key MILEAGE
Key that represents the mileage for an Exchange item.


FLAG

static final Key FLAG
Key that represents the flag on a message as a FlagStatus.

See Also:
FlagStatus

FLAG_TEXT

static final Key FLAG_TEXT
Key that represents the flag text for aan Exchange item as a FlagText.

See Also:
FlagText

ICON_INDEX

static final Key ICON_INDEX
Key that represents the icon index value for an Exchange item.


NORMALIZED_SUBJECT

static final Key NORMALIZED_SUBJECT
Key that represents the normalized subject of an Exchange item. The normalized subject is the subject of an item without the prefix identifier. For example, a message with the subject, "FWD: Test" would have the normalized subject, "Test." This key is read-only.

Method Detail

setContactNames

void setContactNames(java.lang.String[] sContactNames)
                     throws CollaborationException
Sets the contact names.

Parameters:
sContactNames - the contact names
Throws:
CollaborationException - if there was an error setting the contact names

getContactNames

java.lang.String[] getContactNames()
                                   throws CollaborationException
Gets the contact names.

Returns:
the contact names
Throws:
CollaborationException - if there was an error getting the contact names
See Also:
setContactNames(String[])

isHidden

boolean isHidden()
                 throws CollaborationException
Gets the hidden status of the item.

Returns:
the hidden status
Throws:
CollaborationException - if there was an error getting the hidden status
PropertyMissingException - if the property was requested but not available

setPriority

void setPriority(Priority priority)
                 throws CollaborationException
Sets the priority of the item.

Parameters:
priority - the priority
Throws:
CollaborationException - if there was an error setting the priority

getPriority

Priority getPriority()
                     throws CollaborationException
Gets the priority of the item.

Returns:
the priority
Throws:
CollaborationException - if there was an error getting the priority

setSensitivity

void setSensitivity(Sensitivity sensitivity)
                    throws CollaborationException
Sets the sensiivity of the item.

Parameters:
sensitivity - the sensitivity
Throws:
CollaborationException - if there was an error setting the sensitivity

getSensitivity

Sensitivity getSensitivity()
                           throws CollaborationException
Gets the sensiivity of the item.

Returns:
the sensitivity
Throws:
CollaborationException - if there was an error getting the sensitivity

setHideAttachments

void setHideAttachments(boolean bHidden)
                        throws CollaborationException
Sets whether attachments should be hidden.

Parameters:
bHidden - true to hide attachments.
Throws:
CollaborationException - if there was an error setting this value

getHideAttachments

boolean getHideAttachments()
                           throws CollaborationException
Gets whether attachments are hidden.

Returns:
true if attachments are hidden
Throws:
CollaborationException - if there was an error getting this value

setSubjectPrefix

void setSubjectPrefix(java.lang.String sPrefix)
                      throws CollaborationException
Sets the subject prefix of an Exchange item.

Parameters:
sPrefix - the prefix to set (e.g. "RE: ").
Throws:
CollaborationException - if there was an error setting the prefix

getSubjectPrefix

java.lang.String getSubjectPrefix()
                                  throws CollaborationException
Gets whether attachments are hidden.

Returns:
true if attachments are hidden
Throws:
CollaborationException - if there was an error getting the prefix

setMileage

void setMileage(java.lang.String sMileage)
                throws CollaborationException
Sets the mileage.

Parameters:
sMileage - the mileage
Throws:
CollaborationException - if there was an error setting the mileage

getMileage

java.lang.String getMileage()
                            throws CollaborationException
Gets the mileage.

Returns:
the mileage
Throws:
CollaborationException - if there was an error getting the mileage
See Also:
setMileage(String)

setFlagStatus

void setFlagStatus(FlagStatus flagStatus)
                   throws CollaborationException
Sets the flag status level.

Parameters:
flagStatus - the flag status to set or null to remove the flag status.
Throws:
CollaborationException - if there was an error setting the flag status.

getFlagStatus

FlagStatus getFlagStatus()
                         throws CollaborationException
Gets the flag status.

Returns:
the flag status.
Throws:
CollaborationException - if there was an error getting the flag status.
See Also:
getFlagStatus()

setFlagText

void setFlagText(java.lang.String sFlagText)
                 throws CollaborationException
Sets the flag status level. Refer to the "See Also" section for a list of internationalized strings that can be used to set the flag text.

Parameters:
sFlagText - the flag text to set.
Throws:
CollaborationException - if there was an error setting the flag text.
See Also:
FlagTextEnum

getFlagText

java.lang.String getFlagText()
                             throws CollaborationException
Gets the flag text.

Returns:
the flag text.
Throws:
CollaborationException - if there was an error getting the flag text.
See Also:
getFlagText()

BEA Systems, Inc.

Copyright ©1999-2006 BEA Systems, Inc. All rights reserved.