public static interface PreviewUrlAgent.ContentProducerPreviewUrlBuilder extends PreviewUrlAgent.PreviewUrlBuilder<PreviewUrlAgent.ContentProducerPreviewUrlBuilder>
Modifier and Type | Method and Description |
---|---|
String |
getUrl(ContentProducer contentProducer)
|
PreviewUrl |
getUrlObject(ContentProducer contentProducer)
|
PreviewUrlAgent.ContentProducerPreviewUrlBuilder |
pageParams(PageParams pageParams)
Sets the
PageParams to use for rendering the preview url. |
PreviewUrlAgent.ContentProducerPreviewUrlBuilder |
templateSet(TemplateSet templateSet)
Selects the
TemplateSet to use for rendering the preview url. |
forWebedit, fullQualified, language
@NotNull PreviewUrlAgent.ContentProducerPreviewUrlBuilder templateSet(TemplateSet templateSet)
TemplateSet
to use for rendering the preview url. If no TemplateSet
is set, the
builder will fall back to the first available (and possibly only) templateSet of the project.templateSet
- The template set to use when rendering the preview url.@NotNull PreviewUrlAgent.ContentProducerPreviewUrlBuilder pageParams(PageParams pageParams)
PageParams
to use for rendering the preview url. This should be used to address specific
sub pages of a content projection page.pageParams
- The page params object to use when rendering the preview url.@NotNull String getUrl(@NotNull ContentProducer contentProducer)
contentProducer
- the pageRef, page or documentGroup to return a url for.@NotNull PreviewUrl getUrlObject(@NotNull ContentProducer contentProducer)
contentProducer
- The pageRef, page or documentGroup to return a url for.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210