public class WebViewServiceImpl extends Object implements WebViewService
| Constructor and Description |
|---|
WebViewServiceImpl(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
WebMenuManager webMenuManager,
WebContextFactory webContextFactory,
MimeBodyPartRecorder mimeBodyPartRecorder,
DataSourceFactory dataSourceFactory,
Map<String,List<String>> webItemBlacklist) |
| Modifier and Type | Method and Description |
|---|---|
WebView |
forContent(ContentId contentId)
Provides a new WebView.
|
WebView |
forContent(@Nullable ContentId contentId,
Map<String,Object> additionalContext)
Provides a new WebView.
|
WebView |
forContent(String contentId)
Provides a new WebView.
|
WebView |
forGeneric()
Provides a new generic WebView.
|
WebView |
forSpace(String spaceKey) |
public WebViewServiceImpl(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
WebMenuManager webMenuManager,
WebContextFactory webContextFactory,
MimeBodyPartRecorder mimeBodyPartRecorder,
DataSourceFactory dataSourceFactory,
Map<String,List<String>> webItemBlacklist)
public WebView forContent(String contentId)
WebViewServiceforContent in interface WebViewServicecontentId - the id of the CEO or null for a generic WebViewpublic WebView forContent(ContentId contentId)
WebViewServiceforContent in interface WebViewServicecontentId - the id of the CEO or null for a generic WebViewpublic WebView forContent(@Nullable ContentId contentId, Map<String,Object> additionalContext)
WebViewServiceforContent in interface WebViewServicecontentId - 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 contentpublic WebView forGeneric()
WebViewServiceforGeneric in interface WebViewServicepublic WebView forSpace(String spaceKey)
forSpace in interface WebViewServiceCopyright © 2003–2023 Atlassian. All rights reserved.