public class ZKWeblinkUtil
extends com.saperion.util.WeblinkUtil
ALL_ELEMENT, REQ_PARAM_ARCHIVE, REQ_PARAM_CURRENTREVISION, REQ_PARAM_ELEMENT, REQ_PARAM_EXTERN, REQ_PARAM_FIELD, REQ_PARAM_FILENAME, REQ_PARAM_ID, REQ_PARAM_LINK, REQ_PARAM_MANDANT, REQ_PARAM_RELEASED, REQ_PARAM_SECURE, REQ_PARAM_TIMEOUT, REQ_PARAM_ZIP_LINK| Constructor and Description |
|---|
ZKWeblinkUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createClipboardJS(String url,
String message)
Creates the clipboard js.
|
static String |
createMessageBoxJS(String url,
String message)
Creates the message box js.
|
static String |
createURL(String baseURL,
ResultProperties document,
boolean published)
Creates the url.
|
static String |
createURL(String baseURL,
ResultProperties document,
boolean published,
boolean currentRevision,
String mandant,
boolean extern,
Long timeout)
Creates the url.
|
public static String createURL(String baseURL, ResultProperties document, boolean published) throws com.saperion.util.LinkCreationException
baseURL - the base urldocument - the documentpublished - the publishedcom.saperion.util.LinkCreationException - the link creation exceptionpublic static String createURL(String baseURL, ResultProperties document, boolean published, boolean currentRevision, String mandant, boolean extern, Long timeout) throws com.saperion.util.LinkCreationException
baseURL - the base urldocument - the documentpublished - the publishedcurrentRevision - the current revisionmandant - the mandantextern - the externtimeout - the expiration timeout in milliseconds, null to irgnorecom.saperion.util.LinkCreationException - the link creation exceptionpublic static String createMessageBoxJS(String url, String message) throws com.saperion.util.LinkCreationException
url - the urlmessage - the messagecom.saperion.util.LinkCreationException - the link creation exceptionpublic static String createClipboardJS(String url, String message) throws com.saperion.util.LinkCreationException
url - the urlmessage - the messagecom.saperion.util.LinkCreationException - the link creation exceptionCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.