SureDMS Nuxeo Document Object Model
SureDMS uses Nuxeo as its content repository. Nuxeo is a document-oriented platform — it does not expose a hand-written relational schema. Instead, Nuxeo manages its own internal table structure at runtime and exposes documents as typed objects defined by XML schemas (XSD).
From a developer perspective, the persistence model is document-centric:
- Object types are defined as XSD schemas in SC/suredms-nuxeo-extensions/suredms-nuxeo-doctypes/src/main/resources/schemas/
- Java POJOs that mirror these types live in SC/suredms-desktop-client-data/src/main/java/com/sureclinical/suredms/entity/
- Nuxeo server is backed by a PostgreSQL database, but its internal table structure is generated by the Nuxeo runtime — not by application migration scripts
- Nuxeo PostgreSQL connection is configured in
SC/suredms-nuxeo-extensions/; default template ispostgresql(set vianuxeo.db.type)
Object Model Relationships
SureDMS Entity Reference
The following Java classes are the primary domain objects used by the desktop client and web platform. Each class maps to a Nuxeo document type defined by a corresponding XSD schema.
Schema Source Files
| Resource | Purpose |
|---|---|
| SC/suredms-nuxeo-extensions/suredms-nuxeo-doctypes/src/main/resources/schemas/ | XSD schema definitions for all Nuxeo document types |
| SC/suredms-desktop-client-data/src/main/java/com/sureclinical/suredms/entity/ | Java POJOs for all SureDMS domain objects |
| SC/suredms-nuxeo-extensions/ | Nuxeo server extensions including lifecycle, doctypes, and templates |