GCube Document Library

From Gcube Wiki
Revision as of 17:59, 16 September 2010 by Lucio.lelii (Talk | contribs) (Design Overview)

Jump to: navigation, search

Design Overview

The ContentManagementLibrary (CML) is a library that works on top of the Content Manager. This library offers a simpler way for client to access documents in the d4science system. The major change in the ContentManager is the document model (more generic, more extensible), the CML reduces the development costs for using this new feature.

Document Model

TODO


Implementation Overview

The CML is composed by tree types of access interfaces:

  • the CMReader is used to read document from a collection. it offers methods to get a document or part of it (Metadata, Annotations, Parts, Alternatives);
  • the CMWriter is used to add document or update it or a part of it;
  • the CMView is used to get documents from a specific view of a collection.