public class Item
extends java.lang.Object
| Constructor and Description |
|---|
Item()
Initializes a new instance of the Item class.
|
Item(MimeContent mimeContent)
Initializes a new instance of the Item class.
|
Item(java.lang.String subject)
Initializes a new instance of the Item class.
|
Item(java.lang.String subject,
java.lang.String itemClass)
Initializes a new instance of the Item class.
|
| Modifier and Type | Method and Description |
|---|---|
RetentionTag |
getArchiveTag()
Gets the archive tag.
|
java.util.List<AttachmentInfo> |
getAttachments()
Gets the items or files that are attached to an item in the Exchange store.
|
Body |
getBody()
Gets the actual body content of a message.
|
java.lang.String |
getBodyHtmlText()
Gets the html body text.
|
java.lang.String |
getBodyPlainText()
Gets the html body text.
|
byte[] |
getBodyRtf()
Gets the Rich Text Format body text.
|
java.util.List<java.lang.String> |
getCategories()
Gets a collection of strings that identify to which categories an item in the mailbox belongs.
|
java.lang.String |
getComment()
Gets the comment.
|
ItemId |
getConversationId()
Gets the identifier of an item or conversation.
|
java.util.Date |
getCreatedTime()
Gets the date and time that a given item in the mailbox was created.
|
java.lang.String |
getCulture()
Gets the culture for a given item in a mailbox.
|
java.lang.String |
getDisplayName()
Gets the display name of the message store.
|
EffectiveRights |
getEffectiveRights()
Gets the client's rights based on the permission settings for the item or folder.
|
EntityExtractionResult |
getEntityExtractionResult()
Gets the entity extraction information on the item.
|
java.lang.String |
getEntryId()
Gets a MAPI entry identifier used to open and edit properties of a particular MAPI object.
|
ExtendedPropertyList |
getExtendedProperties()
Gets a list of extended properties that are defined on this item.
|
ExtendedProperty |
getExtendedProperty(ExtendedPropertyPath propertyPath)
Gets a list of extended properties that are defined on this item.
|
Flag |
getFlag()
Gets the flag.
|
PredictedMessageAction |
getGroupingAction()
Gets the grouping action.
|
IconIndex |
getIconIndex()
Gets the icon index.
|
Importance |
getImportance()
Gets the importance of an item.
|
java.lang.String |
getInstanceKey()
Gets the instance key.
|
java.lang.String |
getItemClass()
Gets the message class of an item.
|
ItemId |
getItemId()
Gets the unique identifier and change key of an item in the Exchange store.
|
java.util.Date |
getLastModifiedTime()
Gets when an item was last modified.
|
java.lang.String |
getLastModifierName()
Gets the display name of the last user to modify an item.
|
MimeContent |
getMimeContent()
Gets the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in base64Binary format.
|
PredictedMessageAction |
getNextPredictedAction()
Gets the next predicted action.
|
FolderId |
getParentId()
Gets the identifier of the parent folder that contains the item or folder.
|
java.lang.String |
getPreview()
Gets the preview.
|
java.util.Date |
getReminderDueBy()
Gets the date and time when the appointment occurs.
|
boolean |
getReminderIsSet()
Gets whether a reminder has been set for the appointment in the Exchange store.
|
int |
getReminderMinutesBeforeStart()
Gets the number of minutes before an event when a reminder is displayed.
|
java.util.Date |
getRetentionDate()
Gets the retention date.
|
RetentionTag |
getRetentionTag()
Gets the retention tag.
|
byte[] |
getRtfCompressed()
Gets the Rich Text Format body text.
|
java.lang.String |
getSearchKey()
Gets a binary-comparable key that identifies correlated objects for a search.
|
Sensitivity |
getSensitivity()
Gets the sensitivity level of an item.
|
int |
getSize()
Gets the size in bytes of an item.
|
java.lang.String |
getStoreEntryId()
Gets the store entry id.
|
java.lang.String |
getSubject()
Gets the subject for Exchange store items and response objects.
|
Body |
getTextBody()
Gets the text body.
|
Body |
getUniqueBody()
Gets an HTML fragment or plain text which represents the unique body of this conversation.
|
java.lang.String |
getWebClientEditFormQueryString()
Gets a URL to concatenate to the Outlook Web App endpoint to edit an item in Outlook Web App.
|
java.lang.String |
getWebClientReadFormQueryString()
Gets a URL to concatenate to the Microsoft Office Outlook Web App endpoint to read an item in Outlook Web App.
|
boolean |
hasAttachments()
Gets a property that is set to true if an item has attachments at least one visible attachment.
|
boolean |
hasBlockedImages()
Checks for blocked images.
|
boolean |
isAssociated()
Gets whether the item is associated with a folder.
|
boolean |
isBlockStatus()
Checks if is block status.
|
boolean |
isHidden()
Gets the flag that indicates whether the item is hidden from view in the user interface.
|
void |
setArchiveTag(RetentionTag archiveTag)
Sets the archive tag.
|
void |
setBody(Body body)
Sets the actual body content of a message.
|
void |
setBodyRtf(byte[] rtf)
Sets the Rich Text Format body text.
|
void |
setCategories(java.util.List<java.lang.String> categories)
Sets a collection of strings that identify to which categories an item in the mailbox belongs.
|
void |
setComment(java.lang.String comment)
Sets the comment.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the message store.
|
void |
setEffectiveRights(EffectiveRights effectiveRights)
Sets the client's rights based on the permission settings for the item or folder.
|
void |
setFlag(Flag flag)
Sets the flag.
|
void |
setHidden(boolean isHidden)
Sets the flag that indicates whether the item is hidden from view in the user interface.
|
void |
setImportance(Importance importance)
Sets the importance of an item.
|
void |
setItemClass(java.lang.String itemClass)
Sets the message class of an item.
|
void |
setMimeContent(MimeContent mimeContent)
Sets the native Multipurpose Internet Mail Extensions (MIME) stream of an object that is represented in base64Binary format.
|
void |
setReminderDueBy(java.util.Date reminderDueBy)
Sets the date and time when the appointment occurs.
|
void |
setReminderIsSet(boolean reminderIsSet)
Sets whether a reminder has been set for the appointment in the Exchange store.
|
void |
setReminderMinutesBeforeStart(int reminderMinutesBeforeStart)
Sets the number of minutes before an event when a reminder is displayed.
|
void |
setRetentionDate(java.util.Date retentionDate)
Sets the retention date.
|
void |
setRetentionTag(RetentionTag retentionTag)
Sets the retention tag.
|
void |
setRtfCompressed(byte[] rtfCompressed)
Sets the Rich Text Format body text.
|
void |
setSensitivity(Sensitivity sensitivity)
Sets the sensitivity level of an item.
|
void |
setSubject(java.lang.String subject)
Sets the subject for Exchange store items and response objects.
|
java.lang.String |
toString()
Converts the value of the current Item object to its equivalent string representation.
|
public Item()
public Item(java.lang.String subject)
subject - the subjectpublic Item(java.lang.String subject,
java.lang.String itemClass)
subject - the subjectitemClass - the item classpublic Item(MimeContent mimeContent)
mimeContent - the mime contentpublic java.lang.String toString()
toString in class java.lang.Objectpublic ExtendedProperty getExtendedProperty(ExtendedPropertyPath propertyPath)
propertyPath - the property pathpublic ItemId getItemId()
public FolderId getParentId()
public java.lang.String getItemClass()
public void setItemClass(java.lang.String itemClass)
itemClass - the new item classpublic java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject - the new subjectpublic MimeContent getMimeContent()
public void setMimeContent(MimeContent mimeContent)
mimeContent - the new mime contentpublic Sensitivity getSensitivity()
public void setSensitivity(Sensitivity sensitivity)
sensitivity - the new sensitivitypublic Body getBody()
public void setBody(Body body)
body - the new bodypublic byte[] getRtfCompressed()
public void setRtfCompressed(byte[] rtfCompressed)
rtfCompressed - the new rtf compressedpublic byte[] getBodyRtf()
public void setBodyRtf(byte[] rtf)
rtf - the new body rtfpublic java.util.Date getReminderDueBy()
public void setReminderDueBy(java.util.Date reminderDueBy)
reminderDueBy - the new reminder due bypublic boolean getReminderIsSet()
public void setReminderIsSet(boolean reminderIsSet)
reminderIsSet - the new reminder is setpublic int getReminderMinutesBeforeStart()
public void setReminderMinutesBeforeStart(int reminderMinutesBeforeStart)
reminderMinutesBeforeStart - the new reminder minutes before startpublic java.util.List<AttachmentInfo> getAttachments()
public int getSize()
public java.util.List<java.lang.String> getCategories()
public void setCategories(java.util.List<java.lang.String> categories)
categories - the new categoriespublic Importance getImportance()
public void setImportance(Importance importance)
importance - the new importancepublic java.util.Date getCreatedTime()
public boolean hasAttachments()
public java.lang.String getCulture()
public EffectiveRights getEffectiveRights()
public void setEffectiveRights(EffectiveRights effectiveRights)
effectiveRights - the new effective rightspublic java.lang.String getDisplayName()
public void setDisplayName(java.lang.String displayName)
displayName - the new display namepublic java.lang.String getEntryId()
public java.lang.String getLastModifierName()
public java.util.Date getLastModifiedTime()
public java.lang.String getSearchKey()
public java.lang.String getBodyHtmlText()
public java.lang.String getBodyPlainText()
public boolean isHidden()
public void setHidden(boolean isHidden)
isHidden - the new hiddenpublic boolean isAssociated()
public java.lang.String getWebClientReadFormQueryString()
public java.lang.String getWebClientEditFormQueryString()
public ItemId getConversationId()
public java.lang.String getStoreEntryId()
public Body getUniqueBody()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - the new commentpublic Flag getFlag()
public void setFlag(Flag flag)
flag - the new flagpublic java.lang.String getInstanceKey()
public RetentionTag getRetentionTag()
public void setRetentionTag(RetentionTag retentionTag)
retentionTag - the new retention tagpublic RetentionTag getArchiveTag()
public void setArchiveTag(RetentionTag archiveTag)
archiveTag - the new archive tagpublic java.util.Date getRetentionDate()
public void setRetentionDate(java.util.Date retentionDate)
retentionDate - the new retention datepublic java.lang.String getPreview()
public PredictedMessageAction getNextPredictedAction()
public PredictedMessageAction getGroupingAction()
public boolean isBlockStatus()
public boolean hasBlockedImages()
public Body getTextBody()
public IconIndex getIconIndex()
public EntityExtractionResult getEntityExtractionResult()
public ExtendedPropertyList getExtendedProperties()