Class icm.model._AttachmentContentItemMixin
This class is mixed in to the navigator ContentItem object.
This class provides some ICM specific attributes on the ContentItem object.
Defined in: <icm/model/_AttachmentContentItemMixin.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Constructs the attachment content item mixin object.
|
Field Summary
Field Attributes | Field Name and Description |
---|---|
Contains a reference to the javascript object from the property value used to retrieve or construct this ContentItem object.
|
|
Indicates the reason a content item was not retrieved as part of an attachment.
|
Constructor Detail
icm.model._AttachmentContentItemMixin()
Constructs the attachment content item mixin object. An attachment content item mixin object is typically constructed internally
by the ICM application.
Field Detail
attachmentValueItem
Contains a reference to the javascript object from the property value used to retrieve or construct this ContentItem object.
In the case of an unretrieved object, this attachment value item may contain more detailed information of how to fully retrieve
the object.
unretrievedAttachmentStatus
Indicates the reason a content item was not retrieved as part of an attachment.
When content items are initially retrieved from a PropertyEditable that represents an attachment of a
work item, some of the content items may not be retrieved and only a minimal ContentItem
object will be constructed. Currently the reason a content item is not retrieved is if the attachment references a document stored in an external
repository, external to the primary repository for an ICM solution, and is not retrieved initially.
This property is only meaningful when attachment content items are retrieved. Content items obtained in the normal
manner, for example by browsing the folder hierarchy using the Content Navigagor API, may not have this property or
it may not be set to a value. The caller in this case should assume the content item was retrieved from a repository
in the normal way and is equivalent to the status retrieved
.
retrieved
. The item was retrieved from the repository. In most cases the individual ContentItem objects are retrieved in an efficient manner, for example by performing a search. Only a sub-set of the attributes of a ContentItem may be retrieved initially. Depending on the use case, it may be necessary to fully retrieve the ContentItem by calling retrieveAttributes().external
. The item was not retrieved because it is stored in an external repository. The ContentItem in this case contains only a minimal subset of attributes taken from the attachment, for example id, name and repository. The caller can retrieve this item as needed using the minimal attributes in the ContentItem.
Licensed Materials - Property of IBM (©) Copyright IBM Corp. 2013. All Rights Reserved.