ContentTransfer Properties

This topic alphabetically lists the properties that apply to the ContentTransfer class.

ClassDescription Property



Specifies a ClassDescription object containing the fixed description (immutable metadata) of the class from which this object is instantiated.

Metadata

AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
DataType: OBJECT
DeletionAction: NONE
IsHidden: true
IsOrderable: false
IsSearchable: false
IsValueRequired: true
ModificationAccessRequired: WRITE
PersistenceType: NOT_PERSISTENT
ReflectiveProperty: null
RequiredClass: ClassDescription
RequiresUniqueElements: false
Settability: READ_ONLY
TargetAccessRequired: READ

ContentSize Property



Specifies the size in bytes of the content data associated with this document, annotation, or 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.

Metadata

AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
DataType: DOUBLE
IsHidden: false
IsOrderable: false
IsSearchable: false
IsValueRequired: false
ModificationAccessRequired: WRITE
PersistenceType: OWN_COLUMN
RequiresUniqueElements: false
Settability: READ_ONLY
TargetAccessRequired: READ

ContentType Property



Specifies the Multipurpose Internet Mail Extensions (MIME) format string of the content data carried by this content element, indicating the kind of data this content element represents. MIME is a communications protocol that allows for the transmission of data in many forms, such as audio, binary, or video.

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:

Metadata

AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
DataType: STRING
IsHidden: false
IsOrderable: false
IsSearchable: false
IsValueRequired: true
MaximumLengthString: 96
ModificationAccessRequired: WRITE
PersistenceType: OWN_COLUMN
RequiresUniqueElements: false
Settability: SETTABLE_ONLY_ON_CREATE
TargetAccessRequired: READ

ElementSequenceNumber Property



A unique sequence number for a content element in a particular document or annotation version. Server-generated, the number serves as an unchanging identity for the content element. For annotations, on which you can change content, the element sequence number for a content element will not change. For example, if you were to change a content element's relative position within the list of content elements, the element's sequence number would be retained. Or if you were to replace the first content element with updated content, the content element would receive a new element sequence number. Element sequence numbers are not reused.

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.

Metadata

AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
DataType: LONG
IsHidden: false
IsOrderable: false
IsSearchable: false
IsValueRequired: false
ModificationAccessRequired: WRITE
PersistenceType: NOT_PERSISTENT
PropertyDefaultInteger32: null
PropertyMaximumInteger32: null
PropertyMinimumInteger32: null
RequiresUniqueElements: false
Settability: READ_ONLY
TargetAccessRequired: READ

RetrievalName Property



Specifies the path to the file from which the content data for this document or annotation content element (represented by a 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.

Metadata

AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
DataType: STRING
IsHidden: false
IsOrderable: false
IsSearchable: false
IsValueRequired: false
MaximumLengthString: 2083
ModificationAccessRequired: WRITE
PersistenceType: OWN_COLUMN
RequiresUniqueElements: false
Settability: SETTABLE_ONLY_ON_CREATE
TargetAccessRequired: READ