ContentElement Properties
This topic alphabetically lists the properties that apply to the ContentElement 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
ContentType Property
Specifies the Multipurpose Internet Mail Extensions (MIME) format string of the content data carried by this content element,
which indicates to the server what kind of data this content element represents.
You can set the ContentType property of a specific content element when you create it and attach it to a document
version. If you do not set the ContentType property, it is automatically set by the server.
MIME is a communications protocol that allows for the transmission of data in many forms, such as audio, binary, or video.
A MIME format string consists of a content type, a content subtype, and an optional parameter in the following format:
"MIME::content type/subtype[;parameter]". For example: "MIME::text/html".
MIME defines the following content types:
- text: Represent textual information in a number of character sets. A charset parameter may be used
("MIME::text/plain;charset=us-ascii", for example). Some subtypes: plain, html, richtext.
- image: Represents still images. Some subtypes: jpeg, gif.
- audio: Represents audio or voice data. Some subtypes: wav, au.
- video: Represents video data or moving-image data. Some subtypes: mpeg, mp4.
- message: Encapsulates an entire formatted message. Some subtypes: rfc822, partial, external-body.
- multipart: Combines several body parts of potentially different types and subtypes. Some subtypes: mixed, alternative, parallel, digest.
- application: Represents application data (such as executables) or binary data.
FileNet-specific MIME types include:
- application/x-filenet-declarerecordtemplate: Record template.
- application/x-filenet-documentassembly: Document assembly.
- application/x-filenet-external: An object that contains a single
ContentReference
content element.
- application/x-filenet-external-is: External Image Services document.
- application/x-filenet-publishtemplate: Publish template.
- application/x-filenet-scenariodefinition: Scenario definition document.
- application/x-filenet-search: Stored search.
- application/x-filenet-searchtemplate: Search template.
- application/x-filenet-workflowdefinition: Workflow definition document.
- multipart/x-filenet-external: An object that contains multiple
ContentReference
content elements only.
Metadata
AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
Datatype: STRING
IsHidden: false
IsOrderable: false
IsSearchable: false
IsValueRequired: true
MaximumLengthString: null
ModificationAccessRequired: WRITE
PersistenceType: NOT_PERSISTENT
RequiresUniqueElements: false
Settability: READ_WRITE
TargetAccessRequired: READ
ElementSequenceNumber Property
A unique sequence number for a content element in a document or annotation object.
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.
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