IBM Content Manager, Version 8.5      Supports:  Oracle, DB2, C++, Java

Working with dynamic data objects (DDOs)

You use the DKDDO class for dynamic data objects (DDOs) in your IBM® Content Manager applications.

This section describes how to use a DDO and contains examples that help you learn how to:
  1. Associate a DKDDO with a content server.
  2. Create a DKDDO.
  3. Create Persistent Identifiers (PIDs) for DKDDO attributes.
  4. Add attributes and define attribute properties.
  5. Define the DKDDO as a folder or as a document.
  6. Set and view values for the attribute properties.
  7. Check the DKDDO properties.
  8. Check the attribute properties.
  9. Display the DKDDO content.
  10. Delete the DKDDO.

A DKDDO object represents an item, for example, an IBM Content Manager document, folder, or a user-defined object. A DKDDO object contains attributes. Each attribute has a name, a value, and properties. Each attribute is identified by a data ID. Attributes are numbered consecutively starting with 1; the attribute number is the data ID.

Because the name, value, and property of an attribute can vary, DKDDO provides flexible mechanisms to represent data originating from various content servers and formats. For example, items from different item types in IBM Content Manager, or rows from different tables in a relational database. The DKDDO itself can have properties that apply to the whole DKDDO, instead of to only one particular attribute.

You associate a DKDDO with a content server before calling the add, retrieve, update and delete methods to put its attributes into the content server or retrieve them. You set the content server either as a parameter when you create the DKDDO object or by calling setDatastore method.

Every DKDDO has a persistent object identifier (PID), which contains information for locating the attributes in the content server.



Feedback

Last updated: December 2013
dcmap054.htm

© Copyright IBM Corporation 2013.