Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.util
Class DocumentLocator

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.util.DocumentLocator

Deprecated. see the url service with codecs registered through extension points

@Deprecated
public final class DocumentLocator
extends Object

Utility class that externalize means to access a document by using an URL.

Author:
DM

Field Summary
static String CHAR_ENCODING
          Deprecated.  
static String PARAM_NAME
          Deprecated.  
static String URL_PREFIX
          Deprecated.  
 
Method Summary
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.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL_PREFIX

public static final String URL_PREFIX
Deprecated. 
See Also:
Constant Field Values

PARAM_NAME

public static final String PARAM_NAME
Deprecated. 
See Also:
Constant Field Values

CHAR_ENCODING

public static final String CHAR_ENCODING
Deprecated. 
See Also:
Constant Field Values
Method Detail

getDocumentUrl

public static String getDocumentUrl(RepositoryLocation serverLocation,
                                    DocumentRef docRef)
Deprecated. 

getDocumentUrl

public static String getDocumentUrl(String serverLocationName,
                                    DocumentRef docRef)
Deprecated. 
Returns something like getDocument.faces?docRef=ServerLocationName/DocRef.


getFullDocumentUrl

public static String getFullDocumentUrl(RepositoryLocation serverLocation,
                                        DocumentRef docRef)
Deprecated. 
Returns something like http://server:port/nuxeo/getDocument.xhtml?docRef=ServerLocationName/DocRef.


getFullDocumentUrl

public static String getFullDocumentUrl(String serverLocation,
                                        DocumentRef docRef)
Deprecated. 
Returns something like http://server:port/nuxeo/getDocument.xhtml?docRef=ServerLocationName/DocRef.


parseDocRef

public static DocumentLocation parseDocRef(String docUriRef)
                                    throws BadDocumentUriException
Deprecated. 
Parameters:
docUriRef - in format <ServerLocationName>/<DocRefType>:<doc reference>
Throws:
BadDocumentUriException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.