org.nuxeo.ecm.admin.url
Class AdminViewCodec
java.lang.Object
org.nuxeo.ecm.platform.url.service.AbstractDocumentViewCodec
org.nuxeo.ecm.admin.url.AdminViewCodec
- All Implemented Interfaces:
- DocumentViewCodec
public class AdminViewCodec
- extends AbstractDocumentViewCodec
- implements DocumentViewCodec
Should provide a url binding for admin screens
- Author:
- tiry
Field Summary |
static java.lang.String |
PREFIX
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final java.lang.String PREFIX
- See Also:
- Constant Field Values
AdminViewCodec
public AdminViewCodec()
AdminViewCodec
public AdminViewCodec(java.lang.String prefix)
getPrefix
public java.lang.String getPrefix()
- Specified by:
getPrefix
in interface DocumentViewCodec
- Overrides:
getPrefix
in class AbstractDocumentViewCodec
getDocumentViewFromUrl
public DocumentView getDocumentViewFromUrl(java.lang.String url)
- Description copied from interface:
DocumentViewCodec
- Extracts the document view from given url.
The url is partial: it does not hold the context path information
(server:port/nuxeo).
- Specified by:
getDocumentViewFromUrl
in interface DocumentViewCodec
- Parameters:
url
- the partial url to redirect to.
- Returns:
- a document view instance.
getUrlFromDocumentView
public java.lang.String getUrlFromDocumentView(DocumentView docView)
- Description copied from interface:
DocumentViewCodec
- Builds an url from the given document view.
The url should be partial: it should not hold the context path
information (server:port/nuxeo).
- Specified by:
getUrlFromDocumentView
in interface DocumentViewCodec
- Returns:
Copyright © 2010 Nuxeo SAS. All Rights Reserved.