close

Filter

loading table of contents...

Unified API Developer Manual / Version 2110

Table Of Contents

5.3 Types

The types of both Content and Version objects are defined by ContentType objects. ContentType inherits from CapType, but not all kinds of properties are supported. Only integer, string, date, blob, XML, struct, and link list properties are provided.

Documents and versions are using the types that are configured at the Content Server. For folders there is a special pseudo-type without property descriptors. Two other abstract pseudo-types are provided: one for documents of any type and one for content in general, including folders and documents.

You can obtain a reference to a type by calling ContentRepository.getContentType(String) with the name of the type. The pseudo-types are provided by the methods getFolderContentType(), getDocumentContentType(), and getContentContentType(). The pseudo-types are properly integrated into the type hierarchy.

Types also allow you the creation of new content objects. To this end, you have to call one of the create methods and pass parameters that will allow the server to determine at least a name and a folder for the content.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.