public final class HylandViewerUtil extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
HylandViewerUtil.SessionIdNotFoundException
Exception thrown when the session id of the document is not found.
|
| Constructor and Description |
|---|
HylandViewerUtil(javax.servlet.http.HttpServletRequest httpRequest) |
| 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
|
String |
getSessionIdOfDocument(OpenDocumentBean openDocumentBean,
String revisionId,
int elementNumber,
String name)
Get the session id of a document
|
String |
getSessionIdOfTemporaryDocument(TemporaryDocumentId id)
Get the session id of a temporary document
|
public HylandViewerUtil(javax.servlet.http.HttpServletRequest httpRequest)
public String constructViewerDocumentUrl(javax.servlet.http.HttpServletRequest httpRequest, String sessionId)
sessionId - the id of the document from hyland rendering and conversion servicepublic String getSessionIdOfDocument(OpenDocumentBean openDocumentBean, String revisionId, int elementNumber, String name) throws HylandViewerUtil.SessionIdNotFoundException
openDocumentBean - bean holding information for a viewer-popuprevisionId - hdoc of a structureelementNumber - element ID. Used only for structured documents to identify the pagename - name of an element in a structured documentHylandViewerUtil.SessionIdNotFoundExceptionpublic String getSessionIdOfTemporaryDocument(TemporaryDocumentId id)
id - a reference to the temporary documentCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.