public class UserCodec extends AbstractUserGroupCodec
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_USERS_TAB |
static String |
PREFIX |
DEFAULT_VIEW_ID, GET_URL_PATTERN
prefix
Constructor and Description |
---|
UserCodec() |
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.
|
getDefaultRepositoryName, getDocumentViewFromUrl, getUrlFromDocumentViewAndID
handleDocumentView, handleUrl, setPrefix
public static final String PREFIX
public static final String DEFAULT_USERS_TAB
public UserCodec()
public String getPrefix()
getPrefix
in interface DocumentViewCodec
getPrefix
in class AbstractDocumentViewCodec
public DocumentView getDocumentViewFromUrl(String url)
DocumentViewCodec
The url is partial: it does not hold the context path information (server:port/nuxeo).
url
- the partial url to redirect to.public String getUrlFromDocumentView(DocumentView docView)
DocumentViewCodec
The url should be partial: it should not hold the context path information (server:port/nuxeo).
Copyright © 2015 Nuxeo SA. All rights reserved.