org.nuxeo.ecm.core.api
Class DocumentResolver
java.lang.Object
org.nuxeo.ecm.core.api.DocumentResolver
- All Implemented Interfaces:
- java.io.Serializable
public class DocumentResolver
- extends java.lang.Object
- implements java.io.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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 © 2010 Nuxeo SAS. All Rights Reserved.