Interface LinkBuilder

All Superinterfaces:
LinkValidator
All Known Implementing Classes:
StandaloneHandler

public interface LinkBuilder extends LinkValidator
The Interface LinkBuilder. Builds the standalone viewer URL with all parameters set in the fluent builder API.
  • Method Summary

    Modifier and Type
    Method
    Description
    toLink(String baseURL)
    Builds the weblink url with given baseURL.
    Builds a secure weblink url with given baseURL.

    Methods inherited from interface com.saperion.ngc.portal.builder.standalone.LinkValidator

    validate
  • Method Details

    • toLink

      String toLink(String baseURL) throws com.saperion.util.LinkCreationException
      Builds the weblink url with given baseURL.
      Parameters:
      baseURL - the base url
      Returns:
      the string
      Throws:
      com.saperion.util.LinkCreationException - when the link could not be created
    • toSecureLink

      String toSecureLink(String baseURL) throws com.saperion.util.LinkCreationException
      Builds a secure weblink url with given baseURL.
      Parameters:
      baseURL - the base url
      Returns:
      the secure link.
      Throws:
      com.saperion.util.LinkCreationException - when the link could not be created