Class ZKWeblinkUtil

java.lang.Object
com.saperion.util.WeblinkUtil
com.saperion.ngc.util.ZKWeblinkUtil

public class ZKWeblinkUtil extends com.saperion.util.WeblinkUtil
The Class ZKWeblinkUtil.
  • Field Summary

    Fields inherited from class 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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Creates the clipboard js.
    static String
    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.

    Methods inherited from class com.saperion.util.WeblinkUtil

    bookmark, hash, secureBookmark, secureURL, secureWeblink, secureWeblink, url, validate, weblink

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ZKWeblinkUtil

      public ZKWeblinkUtil()
  • Method Details

    • createURL

      public static String createURL(String baseURL, ResultProperties document, boolean published) throws com.saperion.util.LinkCreationException
      Creates the url.
      Parameters:
      baseURL - the base url
      document - the document
      published - the published
      Returns:
      the string
      Throws:
      com.saperion.util.LinkCreationException - the link creation exception
    • createURL

      public static String createURL(String baseURL, ResultProperties document, boolean published, boolean currentRevision, String mandant, boolean extern, Long timeout) throws com.saperion.util.LinkCreationException
      Creates the url.
      Parameters:
      baseURL - the base url
      document - the document
      published - the published
      currentRevision - the current revision
      mandant - the mandant
      extern - the extern
      timeout - the expiration timeout in milliseconds, null to irgnore
      Returns:
      the URL as string
      Throws:
      com.saperion.util.LinkCreationException - the link creation exception
    • createMessageBoxJS

      public static String createMessageBoxJS(String url, String message) throws com.saperion.util.LinkCreationException
      Creates the message box js.
      Parameters:
      url - the url
      message - the message
      Returns:
      the string
      Throws:
      com.saperion.util.LinkCreationException - the link creation exception
    • createClipboardJS

      public static String createClipboardJS(String url, String message) throws com.saperion.util.LinkCreationException
      Creates the clipboard js.
      Parameters:
      url - the url
      message - the message
      Returns:
      the string
      Throws:
      com.saperion.util.LinkCreationException - the link creation exception