public final class SAPViewerMailUrl extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getMailingURL(javax.servlet.http.HttpServletRequest request,
DocumentId docId,
List<DocumentArchiveMetaInfo.ElementArchiveMetaInfo> elements,
String text,
String subject)
Creates a mailing URL.
|
static String |
getUrlMailingURL(javax.servlet.http.HttpServletRequest request,
DocumentId docId,
String mailText,
String subject)
Creates a url mailing URL.
|
public static String getMailingURL(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 getUrlMailingURL(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 mailUnsupportedEncodingExceptionCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.