Nuxeo Enterprise Platform 5.4

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 java.lang.Object

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

Author:
DM

Field Summary
static java.lang.String CHAR_ENCODING
          Deprecated.  
static java.lang.String PARAM_NAME
          Deprecated.  
static java.lang.String URL_PREFIX
          Deprecated.  
 
Method Summary
static java.lang.String getDocumentUrl(RepositoryLocation serverLocation, DocumentRef docRef)
          Deprecated.  
static java.lang.String getDocumentUrl(java.lang.String serverLocationName, DocumentRef docRef)
          Deprecated. Returns something like getDocument.faces?
static java.lang.String getFullDocumentUrl(RepositoryLocation serverLocation, DocumentRef docRef)
          Deprecated. Returns something like http://server:port/nuxeo/getDocument.xhtml?
static java.lang.String getFullDocumentUrl(java.lang.String serverLocation, DocumentRef docRef)
          Deprecated. Returns something like http://server:port/nuxeo/getDocument.xhtml?
static DocumentLocation parseDocRef(java.lang.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 java.lang.String URL_PREFIX
Deprecated. 
See Also:
Constant Field Values

PARAM_NAME

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

CHAR_ENCODING

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

getDocumentUrl

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

getDocumentUrl

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


getFullDocumentUrl

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


getFullDocumentUrl

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


parseDocRef

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.