Public Content API classes and interfaces
The Public Content API exposes its data model through a number of classes and interfaces.
| Class or interface name | Type | Description | Implements/Extends | Used in |
|---|---|---|---|---|
Item | interface | Base class for Content models | Container | |
Container | class | Container item that can hold a list of Items | Item | |
Page | class | A content container that contains content and a template | Item, Container | |
Content | class | The String representation of a piece of content | Item | Page, Component |
Template | class | Template data | Item | Page, ComponentPresentation |
Component | class | Metadata for a Component or Multimedia Component | Item | ComponentPresentation |
ComponentPresentation | class | A component presentation, that is, a combination of a Component object and a Template object. | Component | |
ContentFragment | abstract class | A generic representation of a piece of content, possibly including metadata | ||
StructuredContent | class | A component that can be presented as a set of field-value pairs. | Component | |
BinaryContent | class | A component that has binary content. | Component | |
CustomMeta | class | An object that holds metadata (key-value pairs) | Item | |
Publication | class | An object representing a consistent collection of all items associated with a deliverable | Item |