concept taggable in category apache chemistry

appears as: taggables
CMIS and Apache Chemistry in Action

This is an excerpt from Manning's book CMIS and Apache Chemistry in Action.

Later, someone might decide to add a tagging capability to the case management system. A taggable secondary type makes it easy to add tag-related metadata to all of the objects that need to be tagged. Now objects can be both case-related and taggable. In this way, secondary types provide a means to achieve multiple inheritance, which can’t be accomplished with primary content types alone.

Creating collections of taggables (playlists, galleries)

Collections of taggables are implemented by creating folders in which taggable items can be multifiled. A collection for a user is stored in a subfolder of a user-content folder called collections. For example, if our user, joeschmoe, wants to create a collection called “classics,” that folder would be located at /user_content/joeschmoe/collections/classics/. The functions that deal with creating and retrieving collections of taggables are shown in the following listing.

Listing 9.12. Creating and retrieving collections of taggables