public final class SAPViewerMailUrl extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getAppletMailingURL(javax.servlet.http.HttpServletRequest request,
DocumentId docId,
List<DocumentArchiveMetaInfo.ElementArchiveMetaInfo> elements,
String text,
String subject)
Creates a mailing URL.
|
static String |
getAppletUrlMailingURL(javax.servlet.http.HttpServletRequest request,
DocumentId docId,
String mailText,
String subject)
Creates a url mailing URL.
|
static String |
getMailToLink(javax.servlet.http.HttpServletRequest request,
DocumentId docId)
Creates SapWebViewer Mailto link.
|
public static String getAppletMailingURL(javax.servlet.http.HttpServletRequest request, DocumentId docId, List<DocumentArchiveMetaInfo.ElementArchiveMetaInfo> elements, String text, String subject) throws UnsupportedEncodingException
request
- the current requestdocId
- the ID of the document to mailelements
- the structure of the documenttext
- the Mail textsubject
- the subject of the mailUnsupportedEncodingException
- encoding error when creating URLpublic static String getAppletUrlMailingURL(javax.servlet.http.HttpServletRequest request, DocumentId docId, String mailText, String subject) throws UnsupportedEncodingException
request
- the current requestdocId
- the ID of the document to mailmailText
- Mail text (default: Mail URL to send: )subject
- the subject of the mailUnsupportedEncodingException
public static String getMailToLink(javax.servlet.http.HttpServletRequest request, DocumentId docId) throws UnsupportedEncodingException
request
- the current requestdocId
- the ID of the document to mailUnsupportedEncodingException
Copyright © 2021 Hyland Software Germany GmbH. All rights reserved.