Book Image

Alfresco CMIS

By : Martin Bergljung
Book Image

Alfresco CMIS

By: Martin Bergljung

Overview of this book

Table of Contents (14 chapters)
Alfresco CMIS
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Listing available types and subtypes


When we are working with a repository, it is important to be able to find out what types are available so that we can classify documents and folders properly. One of the first things to do in a CMS project is to design a domain-specific content model so that content can be classified appropriately. A proper content model improves the search capabilities and enables specific behavior to be implemented based on the type of content.

The getTypeChildren service is used for listing types. This service call can also use the paging parameters that the getChildren service call uses, such as maxItems. The type listing will contain a type definition with information about each type. From the type definition, we can determine whether new objects can be created from this type (cmis:creatable), objects of this type are fileable (cmis:fileable) in a folder, you can search for the objects of this type by including the type in the FROM clause (cmis:queryable), and whether...