public interface DocumentViewCodec
| Modifier and Type | Method and Description | 
|---|---|
DocumentView | 
getDocumentViewFromUrl(String url)
Extracts the document view from given url. 
 | 
String | 
getPrefix()  | 
String | 
getUrlFromDocumentView(DocumentView docView)
Builds an url from the given document view. 
 | 
boolean | 
handleDocumentView(DocumentView docView)
Returns true if this codec should apply when iterating over codecs to find a matching one. 
 | 
boolean | 
handleUrl(String url)
Returns true if this codec should apply when iterating over codecs to find a matching one. 
 | 
void | 
setPrefix(String prefix)  | 
boolean handleDocumentView(DocumentView docView)
boolean handleUrl(String url)
DocumentView getDocumentViewFromUrl(String url)
The url is partial: it does not hold the context path information (server:port/nuxeo).
url - the partial url to redirect to.String getUrlFromDocumentView(DocumentView docView)
The url should be partial: it should not hold the context path information (server:port/nuxeo).
docView - Copyright © 2019 Nuxeo. All rights reserved.