com.atlassian.confluence.web.service
Class WebViewServiceImpl

java.lang.Object
  extended by com.atlassian.confluence.web.service.WebViewServiceImpl
All Implemented Interfaces:
WebViewService

public class WebViewServiceImpl
extends java.lang.Object
implements WebViewService


Constructor Summary
WebViewServiceImpl(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, WebMenuManager webMenuManager, WebContextFactory webContextFactory, MimeBodyPartRecorder mimeBodyPartRecorder, DataSourceFactory dataSourceFactory, java.util.Map<java.lang.String,java.util.List<java.lang.String>> webItemBlacklist)
           
 
Method Summary
 WebView forContent(ContentId contentId)
          Provides a new WebView.
 WebView forContent(java.lang.String contentId)
          Provides a new WebView.
 WebView forSpace(java.lang.String spaceKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebViewServiceImpl

public WebViewServiceImpl(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
                          WebMenuManager webMenuManager,
                          WebContextFactory webContextFactory,
                          MimeBodyPartRecorder mimeBodyPartRecorder,
                          DataSourceFactory dataSourceFactory,
                          java.util.Map<java.lang.String,java.util.List<java.lang.String>> webItemBlacklist)
Method Detail

forContent

public WebView forContent(java.lang.String contentId)
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 interface WebViewService
Parameters:
contentId - the id of the CEO or null for a generic WebView
Returns:

forContent

public WebView forContent(ContentId contentId)
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 interface WebViewService
Parameters:
contentId - the id of the CEO or null for a generic WebView
Returns:

forSpace

public WebView forSpace(java.lang.String spaceKey)
Specified by:
forSpace in interface WebViewService


Copyright © 2003-2014 Atlassian. All Rights Reserved.