Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api
Class DocumentResolver

java.lang.Object
  extended by 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

Constructor Summary
DocumentResolver()
           
 
Method Summary
static Document resolveReference(Session session, DocumentRef docRef)
          Resolves the document given its reference.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentResolver

public DocumentResolver()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.