public final class HylandViewerUtil extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
constructViewerDocumentUrl(javax.servlet.http.HttpServletRequest httpRequest,
String sessionId)
Construct the url to retrieve the document with the given sessionId
|
static HylandViewerUtil |
getInstance(javax.servlet.http.HttpServletRequest httpRequest) |
String |
getSessionIdOfDocument(String revisionId,
int elementNumber,
String name)
Get the session id of the document
|
String |
getSessionIdOfTemporaryDocument(TemporaryDocumentId id)
Get the session id of the temporary document
|
public static HylandViewerUtil getInstance(javax.servlet.http.HttpServletRequest httpRequest)
public String constructViewerDocumentUrl(javax.servlet.http.HttpServletRequest httpRequest, String sessionId)
sessionId - the id of the document from FCSpublic String getSessionIdOfDocument(String revisionId, int elementNumber, String name)
revisionId - the hdoc of the documentelementNumber - element ID. Used only for structured documents to identify the page.name - the name of the element in a structured documentspublic String getSessionIdOfTemporaryDocument(TemporaryDocumentId id)
id - a reference to the temporary documentCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.