Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Chemistry API encompasses two API levels:

  • a low-level SPI between a client and a server that mirrors the CMIS specification closely (it is expected that the SPI will be used when either the client or the server implements one of the HTTP protocols defined in CMIS),

...

Both levels of APIs are based on a common set of low-level constants and enums tied to the CMIS domain model (property types, capabilities, etc.).

AnchorRepositoryYou will find example uses of the API on a separate page.

Repository

Repository

A Repository is the main access point to a remote CMIS repository. You get a Repository from the static RepositoryManager, which holds instances of local or remote repositories, registered there by bootstrap application code.

From a Repository you can get to the object types and property definitions (using the TypeManager interface), and create actual connections to the repository. A connection can be a high-level (Connection), or a low-level (SPI). A Connection is always tied to a low-level SPI. AnchorDTODTO

Data transfer objects and constants

...

  • ListPage, Tree: datastructures returned from SPI calls, when the standard Java Lists or Sets are not enough to express what is defined in the CMIS domain model.

...

SPI

...

SPI

The SPI interface describes the set of methods that can be done on a CMIS server. They follow closely the domain model defined by CMIS. AnchorConnectionConnection

Connection

The Connection interface is the object-oriented entry point to CMIS. From it you get to the various Document, Folder, Relationship, Policy, with CMISObject as their base class.

...