Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.annotations.repository
Class DefaultNuxeoUriResolver

java.lang.Object
  extended by org.nuxeo.ecm.platform.annotations.repository.DefaultNuxeoUriResolver
All Implemented Interfaces:
UriResolver

public class DefaultNuxeoUriResolver
extends Object
implements UriResolver

Author:
Alexandre Russel

Constructor Summary
DefaultNuxeoUriResolver()
           
 
Method Summary
 String getBaseUrl(URI uri)
           
 DocumentLocation getDocumentLocation(URI uri)
           
 DocumentRef getDocumentRef(URI uri)
           
 List<URI> getSearchURI(URI uri)
           
 URI getUri(DocumentView view, String baseUrl)
           
 URI translateFromGraphURI(URI uri, String baseUrl)
           
 URI translateToGraphURI(URI uri)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNuxeoUriResolver

public DefaultNuxeoUriResolver()
Method Detail

getSearchURI

public List<URI> getSearchURI(URI uri)
                       throws AnnotationException
Specified by:
getSearchURI in interface UriResolver
Throws:
AnnotationException

translateFromGraphURI

public URI translateFromGraphURI(URI uri,
                                 String baseUrl)
                          throws AnnotationException
Specified by:
translateFromGraphURI in interface UriResolver
Throws:
AnnotationException

translateToGraphURI

public URI translateToGraphURI(URI uri)
                        throws AnnotationException
Specified by:
translateToGraphURI in interface UriResolver
Throws:
AnnotationException

getBaseUrl

public String getBaseUrl(URI uri)
                  throws AnnotationException
Specified by:
getBaseUrl in interface UriResolver
Throws:
AnnotationException

getDocumentRef

public DocumentRef getDocumentRef(URI uri)
                           throws AnnotationException
Throws:
AnnotationException

getDocumentLocation

public DocumentLocation getDocumentLocation(URI uri)
                                     throws AnnotationException
Throws:
AnnotationException

getUri

public URI getUri(DocumentView view,
                  String baseUrl)
           throws URISyntaxException
Throws:
URISyntaxException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.