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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
toLink(java.lang.String baseURL)
Builds the weblink url with given baseURL.java.lang.String
toSecureLink(java.lang.String baseURL)
Builds a secure weblink url with given baseURL.-
Methods inherited from interface com.saperion.ngc.portal.builder.standalone.LinkValidator
validate
-
-
-
-
Method Detail
-
toLink
java.lang.String toLink(java.lang.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
java.lang.String toSecureLink(java.lang.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
-
-