This Javadoc is outdated, there are actually only two subclasses of DocumentRef: PathRef and IdRef.
And there is no use of INSTANCE in Nuxeo today.
If you have a DocumentModel instance, just call doc.getRef() to get a reference.

Florent

On 24 Jul 2009, at 15:12, Sean Radford wrote:
The javadoc for org.nuxeo.ecm.core.api.DocumentRef states:

The following 3 types of references are supported:
* ID references. Refers to the core document by its UUID. See {...@link IdRef}. * PATH references. Refers to the core document by its path. See {...@link PathRef}. * INSTANCE references. Refers to the core document directly by its instance.

Now, neither DocumentModel or DocumentModelImpl extend or implement DocumentRef, so is there currently such a class that functions as an INSTANCE reference?

--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to