Interface WebViewService
-
- All Known Implementing Classes:
WebViewServiceImpl
@Internal public interface WebViewService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description WebView
forContent(ContentId contentId)
Provides a new WebView.WebView
forContent(ContentId contentId, Map<String,Object> additionalContext)
Provides a new WebView.WebView
forContent(String contentId)
Deprecated.Since 5.5.WebView
forGeneric()
Provides a new generic WebView.WebView
forSpace(String spaceKey)
-
-
-
Method Detail
-
forContent
@Deprecated WebView forContent(String contentId)
Deprecated.Since 5.5. UseforContent(ContentId)
.Provides a new WebView. The contentId is used to enrich the underlying WebInterfaceContext depending on what type of content is provided.- Parameters:
contentId
- the id of the CEO or null for a generic WebView- Returns:
- the web view
-
forContent
WebView forContent(ContentId contentId)
Provides a new WebView. The contentId is used to enrich the underlying WebInterfaceContext depending on what type of content is provided.- Parameters:
contentId
- the id of the CEO or null for a generic WebView- Returns:
-
forContent
WebView forContent(ContentId contentId, Map<String,Object> additionalContext)
Provides a new WebView. The contentId is used to enrich the underlying WebInterfaceContext depending on what type of content is provided.- Parameters:
contentId
- the id of the CEO or null for a generic WebViewadditionalContext
- additional context, which will also enrich the context passed to the resulting WebView if it contains parameters that reference content- Returns:
-
forGeneric
WebView forGeneric()
Provides a new generic WebView. Suitable for fetching web items for parts of confluence that do not have a specific entity context.
-
-