public class DefaultNuxeoUriResolver extends Object implements UriResolver
Constructor and Description |
---|
DefaultNuxeoUriResolver() |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl(URI uri) |
DocumentLocation |
getDocumentLocation(URI uri) |
DocumentRef |
getDocumentRef(URI uri) |
protected URI |
getGraphURIFromDocumentView(DocumentView view) |
URI |
getSearchURI(URI uri) |
URI |
getUri(DocumentView view,
String baseUrl) |
URI |
translateFromGraphURI(URI uri,
String baseUrl) |
URI |
translateToGraphURI(URI uri) |
public DefaultNuxeoUriResolver()
public URI getSearchURI(URI uri)
getSearchURI
in interface UriResolver
public URI translateFromGraphURI(URI uri, String baseUrl)
translateFromGraphURI
in interface UriResolver
public URI translateToGraphURI(URI uri)
translateToGraphURI
in interface UriResolver
protected URI getGraphURIFromDocumentView(DocumentView view)
public String getBaseUrl(URI uri)
getBaseUrl
in interface UriResolver
public DocumentRef getDocumentRef(URI uri)
public DocumentLocation getDocumentLocation(URI uri)
public URI getUri(DocumentView view, String baseUrl) throws URISyntaxException
URISyntaxException
Copyright © 2018 Nuxeo. All rights reserved.