|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentViewCodec
Method Summary | |
---|---|
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)
|
Method Detail |
---|
String getPrefix()
void setPrefix(String prefix)
boolean handleDocumentView(DocumentView docView)
DocumentViewCodecManager.getUrlFromDocumentView(DocumentView,
boolean, String)
boolean handleUrl(String url)
DocumentViewCodecManager.getDocumentViewFromUrl(String, boolean,
String)
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
-
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |