@Deprecated public final class DocumentLocator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHAR_ENCODING
Deprecated.
|
static String |
PARAM_NAME
Deprecated.
|
static String |
URL_PREFIX
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
getDocumentUrl(RepositoryLocation serverLocation,
DocumentRef docRef)
Deprecated.
|
static String |
getDocumentUrl(String serverLocationName,
DocumentRef docRef)
Deprecated.
Returns something like getDocument.faces?docRef=ServerLocationName/DocRef.
|
static String |
getFullDocumentUrl(RepositoryLocation serverLocation,
DocumentRef docRef)
Deprecated.
Returns something like http://server:port/nuxeo/getDocument.xhtml?docRef=ServerLocationName/DocRef.
|
static String |
getFullDocumentUrl(String serverLocation,
DocumentRef docRef)
Deprecated.
Returns something like http://server:port/nuxeo/getDocument.xhtml?docRef=ServerLocationName/DocRef.
|
static DocumentLocation |
parseDocRef(String docUriRef)
Deprecated.
|
public static final String URL_PREFIX
public static final String PARAM_NAME
public static final String CHAR_ENCODING
public static String getDocumentUrl(RepositoryLocation serverLocation, DocumentRef docRef)
public static String getDocumentUrl(String serverLocationName, DocumentRef docRef)
public static String getFullDocumentUrl(RepositoryLocation serverLocation, DocumentRef docRef)
public static String getFullDocumentUrl(String serverLocation, DocumentRef docRef)
public static DocumentLocation parseDocRef(String docUriRef) throws BadDocumentUriException
docUriRef
- in format <ServerLocationName>/<DocRefType>:<doc reference>BadDocumentUriException
Copyright © 2018 Nuxeo. All rights reserved.