Interface OptionsBuilder
-
- All Superinterfaces:
LinkBuilder
- All Known Implementing Classes:
WeblinkHandler
public interface OptionsBuilder extends LinkBuilder
The Interface OptionsBuilder. Extends the WeblinkLinkBuilder
with options to add.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OptionsBuilder
external()
External.OptionsBuilder
latest()
Latest.OptionsBuilder
mandant(java.lang.String mandant)
Mandant.OptionsBuilder
published()
Published.OptionsBuilder
timeout(long timeout)
Timeout.-
Methods inherited from interface com.saperion.ngc.portal.builder.weblink.LinkBuilder
copy, open, toLink
-
-
-
-
Method Detail
-
published
OptionsBuilder published()
Published. Option to add if last released document should be shown.- Returns:
- the options builder
-
latest
OptionsBuilder latest()
Latest. Option to add current revision of document should be shown.- Returns:
- the options builder
-
external
OptionsBuilder external()
External. Option to add if link should be usable for extern users.- Returns:
- the options builder
-
timeout
OptionsBuilder timeout(long timeout)
Timeout. Option to add if link should have a timeout. After timeout milliseconds the link is no more valid.- Parameters:
timeout
- the timeout in milliseconds after the link is invalid- Returns:
- the options builder
-
mandant
OptionsBuilder mandant(java.lang.String mandant)
Mandant. Option to add the mandant of the document- Parameters:
mandant
- the mandant- Returns:
- the options builder
-
-