Difference between revisions of "GCube Document Library"

From Gcube Wiki
Jump to: navigation, search
(Document Model)
(Document Model)
Line 3: Line 3:
  
 
== Document Model ==
 
== Document Model ==
[[Image:cmlModel.png| the <code>CML Object Model</code> package]]
+
[[Image:cmlModel.png| the <code>CML Object Model</code>]]
  
 
= Implementation Overview =
 
= Implementation Overview =

Revision as of 19:27, 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

the CML Object Model

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.