Difference between revisions of "GCube Document Library"

From Gcube Wiki
Jump to: navigation, search
(Design Overview)
Line 1: Line 1:
 
= Design Overview =
 
= 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 to the documents in the d4science system. The major change in the ContentManager is the document model (more generic, more extensible but harder to use), the CML
+
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.

Revision as of 17:59, 16 September 2010

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.