Class WebContextFactoryImpl
- java.lang.Object
-
- com.atlassian.confluence.web.service.WebContextFactoryImpl
-
- All Implemented Interfaces:
WebContextFactory
public class WebContextFactoryImpl extends Object implements WebContextFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebContextFactoryImpl.GhettoHelper
-
Constructor Summary
Constructors Constructor Description WebContextFactoryImpl(ContentEntityManager contentEntityManager, I18NBeanFactory i18nBeanFactory, LocaleManager localeManager, FormatSettingsManager formatSettingsManager, SpaceManager spaceManager, com.atlassian.sal.api.timezone.TimeZoneManager timeZoneManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createTemplateContext(WebInterfaceContext webInterfaceContext, Map<String,Object> additionalContext)WebInterfaceContextcreateWebInterfaceContext(ContentEntityObject content)WebInterfaceContextcreateWebInterfaceContext(ContentEntityObject content, Map<String,Object> additionalContext)WebInterfaceContextcreateWebInterfaceContext(Long contentId)WebInterfaceContextcreateWebInterfaceContext(Long contentId, Map<String,Object> additionalContext)WebInterfaceContextcreateWebInterfaceContextForSpace(Space space)WebInterfaceContextcreateWebInterfaceContextForSpace(String spaceKey)Map<String,Object>createWebItemTemplateContext(WebInterfaceContext webInterfaceContext, Map<String,Object> additionalContext)Map<String,Object>createWebPanelTemplateContext(WebInterfaceContext webInterfaceContext, Map<String,Object> additionalContext)
-
-
-
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:
createWebInterfaceContextin interfaceWebContextFactory
-
createWebInterfaceContext
public WebInterfaceContext createWebInterfaceContext(Long contentId, Map<String,Object> additionalContext)
- Specified by:
createWebInterfaceContextin interfaceWebContextFactory
-
createWebInterfaceContext
public WebInterfaceContext createWebInterfaceContext(ContentEntityObject content)
- Specified by:
createWebInterfaceContextin interfaceWebContextFactory
-
createWebInterfaceContext
public WebInterfaceContext createWebInterfaceContext(ContentEntityObject content, Map<String,Object> additionalContext)
- Specified by:
createWebInterfaceContextin interfaceWebContextFactory
-
createWebInterfaceContextForSpace
public WebInterfaceContext createWebInterfaceContextForSpace(Space space)
- Specified by:
createWebInterfaceContextForSpacein interfaceWebContextFactory
-
createWebInterfaceContextForSpace
public WebInterfaceContext createWebInterfaceContextForSpace(String spaceKey)
- Specified by:
createWebInterfaceContextForSpacein interfaceWebContextFactory
-
createWebPanelTemplateContext
public Map<String,Object> createWebPanelTemplateContext(WebInterfaceContext webInterfaceContext, Map<String,Object> additionalContext)
- Specified by:
createWebPanelTemplateContextin interfaceWebContextFactory
-
createWebItemTemplateContext
public Map<String,Object> createWebItemTemplateContext(WebInterfaceContext webInterfaceContext, Map<String,Object> additionalContext)
- Specified by:
createWebItemTemplateContextin interfaceWebContextFactory
-
createTemplateContext
public Map<String,Object> createTemplateContext(WebInterfaceContext webInterfaceContext, Map<String,Object> additionalContext)
- Specified by:
createTemplateContextin interfaceWebContextFactory
-
-