com.atlassian.confluence.web.service
Class WebContextFactoryImpl

java.lang.Object
  extended by com.atlassian.confluence.web.service.WebContextFactoryImpl
All Implemented Interfaces:
WebContextFactory

public class WebContextFactoryImpl
extends Object
implements WebContextFactory


Nested Class Summary
static class WebContextFactoryImpl.GhettoHelper
           
 
Constructor Summary
WebContextFactoryImpl(ContentEntityManager contentEntityManager, I18NBeanFactory i18nBeanFactory, LocaleManager localeManager, FormatSettingsManager formatSettingsManager, SpaceManager spaceManager, com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager)
           
 
Method Summary
 Map<String,Object> createTemplateContext(WebInterfaceContext webInterfaceContext, Map<String,Object> additionalContext)
           
 WebInterfaceContext createWebInterfaceContext(ContentEntityObject content)
           
 WebInterfaceContext createWebInterfaceContext(Long contentId)
           
 WebInterfaceContext createWebInterfaceContextForSpace(Space space)
           
 WebInterfaceContext createWebInterfaceContextForSpace(String spaceKey)
           
 Map<String,Object> createWebItemTemplateContext(WebInterfaceContext webInterfaceContext, Map<String,Object> additionalContext)
           
 Map<String,Object> createWebPanelTemplateContext(WebInterfaceContext webInterfaceContext, Map<String,Object> additionalContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebContextFactoryImpl

public WebContextFactoryImpl(ContentEntityManager contentEntityManager,
                             I18NBeanFactory i18nBeanFactory,
                             LocaleManager localeManager,
                             FormatSettingsManager formatSettingsManager,
                             SpaceManager spaceManager,
                             com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager)
Method Detail

createWebInterfaceContext

public WebInterfaceContext createWebInterfaceContext(Long contentId)
Specified by:
createWebInterfaceContext in interface WebContextFactory

createWebInterfaceContext

public WebInterfaceContext createWebInterfaceContext(ContentEntityObject content)
Specified by:
createWebInterfaceContext in interface WebContextFactory

createWebInterfaceContextForSpace

public WebInterfaceContext createWebInterfaceContextForSpace(Space space)
Specified by:
createWebInterfaceContextForSpace in interface WebContextFactory

createWebInterfaceContextForSpace

public WebInterfaceContext createWebInterfaceContextForSpace(String spaceKey)
Specified by:
createWebInterfaceContextForSpace in interface WebContextFactory

createWebPanelTemplateContext

public Map<String,Object> createWebPanelTemplateContext(WebInterfaceContext webInterfaceContext,
                                                        Map<String,Object> additionalContext)
Specified by:
createWebPanelTemplateContext in interface WebContextFactory

createWebItemTemplateContext

public Map<String,Object> createWebItemTemplateContext(WebInterfaceContext webInterfaceContext,
                                                       Map<String,Object> additionalContext)
Specified by:
createWebItemTemplateContext in interface WebContextFactory

createTemplateContext

public Map<String,Object> createTemplateContext(WebInterfaceContext webInterfaceContext,
                                                Map<String,Object> additionalContext)
Specified by:
createTemplateContext in interface WebContextFactory


Copyright © 2003–2015 Atlassian. All rights reserved.