org.nuxeo.ecm.core.api
Class DocumentResolver
java.lang.Object
org.nuxeo.ecm.core.api.DocumentResolver
- All Implemented Interfaces:
- Serializable
public class DocumentResolver
- extends Object
- implements Serializable
This class knows how to resolve a Document from a document reference. It is
intended to be used inside this module (org.nuxeo.ecm.core.api
) and
not exposed to the clients.
It is factored out from AbstractSession
because other classes need to
use this functionality (security classes for example) and we don't want this
functionality exposed to the clients.
- Author:
- Razvan Caraghin
- See Also:
- Serialized Form
DocumentResolver
public DocumentResolver()
resolveReference
public static Document resolveReference(Session session,
DocumentRef docRef)
throws DocumentException
- Resolves the document given its reference.
- Throws:
DocumentException
- if the document could not be resolved
Copyright © 2011 Nuxeo SAS. All Rights Reserved.