org.nuxeo.ecm.platform.annotations.repository
Class DefaultNuxeoUriResolver
java.lang.Object
org.nuxeo.ecm.platform.annotations.repository.DefaultNuxeoUriResolver
- All Implemented Interfaces:
- UriResolver
public class DefaultNuxeoUriResolver
- extends Object
- implements UriResolver
- Author:
- Alexandre Russel
DefaultNuxeoUriResolver
public DefaultNuxeoUriResolver()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.