This topic alphabetically lists the properties that apply to the ContentTransfer class.
ClassDescription
object containing the fixed description (immutable metadata) of
the class from which this object is instantiated.
ContentTransfer
object.
Note that if the document or annotation has more than one content element, then the size is the sum of all of the content elements.
You can set the ContentType property of a specific content element
when you create it and attach it to a document version. The ContentType property requires a value.
If you do not provide a value for the ContentType property of a ContentReference
object,
an error occurs. By contrast, if you do not provide a value for the ContentType property of a
ContentTransfer
object, the Content Platform Engine attempts to discover the MIME type of the content data,
and automatically sets the property to an estimated MIME type value.
However, it is not always possible for the Content Platform Engine to make a correct determination of the content data
that the ContentTransfer
object holds.
Therefore, IBM recommends that you always set this property to the correct MIME type value when you
add the content element. At a minimum, if you do not specify the MIME type value of the ContentType
property, ensure that the path specified by the RetrievalName property of the ContentTransfer
object contains the correct filename extension for the type of content data.
Although the Content Platform Engine does not enforce the format of this property's value, a MIME format string consists of a content type, a content subtype, and an optional parameter in the following format: "content type/subtype[;parameter]", for example, "text/html". Interpretation of the value is up to retrieving applications.
MIME defines the following content types:
The following MIME types are specific to FileNet:
ContentReference
content element.This property can be accessed from a ContentElement
-based object,
or from GetContentEvent
, representing the event fired when the
content element specified in this property is retrieved.
For CmVerityIndexRequest
, this property is deprecated.
ContentTransfer
object) can be retrieved for editing. The complete path (including the file name) can contain up to
2083 characters; the file name itself can be up to 255 characters long.