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(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)
WebViewService
forContent
in interface WebViewService
contentId
- the id of the CEO or null for a generic WebViewpublic WebView forContent(ContentId contentId)
WebViewService
forContent
in interface WebViewService
contentId
- the id of the CEO or null for a generic WebViewpublic WebView forContent(@Nullable ContentId contentId, Map<String,Object> additionalContext)
WebViewService
forContent
in interface WebViewService
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 contentpublic WebView forGeneric()
WebViewService
forGeneric
in interface WebViewService
public WebView forSpace(String spaceKey)
forSpace
in interface WebViewService
Copyright © 2003–2017 Atlassian. All rights reserved.