Class WebViewServiceImpl
java.lang.Object
com.atlassian.confluence.web.service.WebViewServiceImpl
- All Implemented Interfaces:
WebViewService
-
Constructor Summary
ConstructorsConstructorDescriptionWebViewServiceImpl
(com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager, WebMenuManager webMenuManager, WebContextFactory webContextFactory, MimeBodyPartRecorder mimeBodyPartRecorder, DataSourceFactory dataSourceFactory, Map<String, List<String>> webItemBlacklist) Deprecated, for removal: This API element is subject to removal in a future version.since 9.3 -
Method Summary
Modifier and TypeMethodDescriptionforContent
(@Nullable ContentId contentId, Map<String, Object> additionalContext) Provides a new WebView.forContent
(ContentId contentId) Provides a new WebView.forContent
(String contentId) Provides a new WebView.Provides a new generic WebView.
-
Constructor Details
-
WebViewServiceImpl
@Deprecated(forRemoval=true) public WebViewServiceImpl(com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager, WebMenuManager webMenuManager, WebContextFactory webContextFactory, MimeBodyPartRecorder mimeBodyPartRecorder, DataSourceFactory dataSourceFactory, Map<String, List<String>> webItemBlacklist) Deprecated, for removal: This API element is subject to removal in a future version.since 9.3
-
-
Method Details
-
forContent
Description copied from interface:WebViewService
Provides a new WebView. The contentId is used to enrich the underlying WebInterfaceContext depending on what type of content is provided.- Specified by:
forContent
in interfaceWebViewService
- Parameters:
contentId
- the id of the CEO or null for a generic WebView- Returns:
- the web view
-
forContent
Description copied from interface:WebViewService
Provides a new WebView. The contentId is used to enrich the underlying WebInterfaceContext depending on what type of content is provided.- Specified by:
forContent
in interfaceWebViewService
- Parameters:
contentId
- the id of the CEO or null for a generic WebView- Returns:
-
forContent
Description copied from interface:WebViewService
Provides a new WebView. The contentId is used to enrich the underlying WebInterfaceContext depending on what type of content is provided.- Specified by:
forContent
in interfaceWebViewService
- 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
Description copied from interface:WebViewService
Provides a new generic WebView. Suitable for fetching web items for parts of confluence that do not have a specific entity context.- Specified by:
forGeneric
in interfaceWebViewService
-
forSpace
- Specified by:
forSpace
in interfaceWebViewService
-