public abstract class AbstractSpaceContentListener extends Object implements com.atlassian.event.EventListener
Modifier and Type | Field and Description |
---|---|
protected FormatConverter |
formatConverter |
protected I18NBeanFactory |
i18NBeanFactory |
protected LocaleManager |
localeManager |
protected PageManager |
pageManager |
protected com.atlassian.plugin.PluginAccessor |
pluginAccessor |
protected SystemTemplateManager |
systemTemplateManager |
protected XhtmlContent |
xhtmlContent |
Constructor and Description |
---|
AbstractSpaceContentListener() |
Modifier and Type | Method and Description |
---|---|
protected BodyContent |
getDefaultHomePageContent(Page homePage,
List<Variable> vars,
String templateKey) |
Class[] |
getHandledEventClasses() |
void |
handleEvent(com.atlassian.event.Event event) |
protected abstract void |
handleSpaceCreate(SpaceCreateEvent event) |
void |
setFormatConverter(FormatConverter formatConverter) |
void |
setI18NBeanFactory(I18NBeanFactory i18NBeanFactory) |
void |
setLocaleManager(LocaleManager localeManager) |
void |
setPageManager(PageManager pageManager) |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
void |
setSystemTemplateManager(SystemTemplateManager systemTemplateManager) |
void |
setXhtmlContent(XhtmlContent xhtmlContent) |
protected FormatConverter formatConverter
protected I18NBeanFactory i18NBeanFactory
protected LocaleManager localeManager
protected PageManager pageManager
protected SystemTemplateManager systemTemplateManager
protected com.atlassian.plugin.PluginAccessor pluginAccessor
protected XhtmlContent xhtmlContent
public void handleEvent(com.atlassian.event.Event event)
handleEvent
in interface com.atlassian.event.EventListener
public Class[] getHandledEventClasses()
getHandledEventClasses
in interface com.atlassian.event.EventListener
protected abstract void handleSpaceCreate(SpaceCreateEvent event)
protected BodyContent getDefaultHomePageContent(Page homePage, List<Variable> vars, String templateKey)
public void setFormatConverter(FormatConverter formatConverter)
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
public void setLocaleManager(LocaleManager localeManager)
public void setPageManager(PageManager pageManager)
public void setSystemTemplateManager(SystemTemplateManager systemTemplateManager)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setXhtmlContent(XhtmlContent xhtmlContent)
Copyright © 2003–2015 Atlassian. All rights reserved.