FolderItem Class

Represents an item in a folder. This is a base class for contacts, calendar events, etc.

Constructors

protected FolderItem( )
protected FolderItem( String exchangeID, javaxt.exchange.Connection conn, javaxt.exchange.ExtendedFieldURI[] additionalProperties )
protected FolderItem( org.w3c.dom.Node node )

Methods

addAttachment( javaxt.exchange.Attachment attachment ) returns void
addCategory( String category ) returns void
Used to add a category to this item.
getAttachments( ) returns javaxt.exchange.Attachment[]
Returns an array of attachments associated with this item. Returns null if there are no attachments.
getCategories( ) returns String[]
Returns a list of categories associated with this item. Returns null if no categories are found.
getChangeKey( ) returns String
Used to retrieve the ChangeKey for this item. Note that the ChangeKey is set in the constructor and may not reflect the most recent value.
getExtendedProperties( ) returns java.util.HashMap
Returns a hashamp of ExtendedProperties associated with this item, or null if there are no ExtendedProperties.
getExtendedProperty( String name ) returns Value
Returns the value of an Extended Property.
nameThe name of the ExtendedFieldURI associated with the ExtendedProperty
getID( ) returns String
Used to get the unique id associated with this item.
getLastModifiedTime( ) returns javaxt.utils.Date
Returns the timestamp for when this item was last modified. Note that timestamp is set in the constructor and may not reflect the most recent value.
getNameSpace( String fieldName, String itemName ) returns String
Returns the namespace associated with a given field. This is critical when updating items.
getParentFolderID( ) returns String
Returns the unique id of the item's folder.
hasAttachments( ) returns boolean
Returns a boolean used to indicate whether this item has attachments.
hashCode( ) returns int
Returns a hashCode associated with the item ID, or 0 if it is null.
removeAttachment( javaxt.exchange.Attachment attachment ) returns void
removeCategories( ) returns void
Used to remove all categories associated with this item.
removeCategory( String category ) returns void
Used to remove a category associated with this item.
removeExtendedProperties( ) returns void
Removes all ExtendedProperties associated with this item.
removeExtendedProperty( javaxt.exchange.ExtendedFieldURI property ) returns void
Used to remove a specific ExtendedProperty associated with this item.
setCategories( String[] categories ) returns void
Used to define categories for this item.
setCategory( String category ) returns void
setExtendedProperty( javaxt.exchange.ExtendedFieldURI property, Object value ) returns void
Used to add or update an ExtendedProperty associated with this item.
setLastModifiedTime( javaxt.utils.Date lastModified ) returns void