com.atlassian.confluence.spaces.listeners
Class InitialSpaceContentListener
java.lang.Object
com.atlassian.confluence.spaces.listeners.InitialSpaceContentListener
- All Implemented Interfaces:
- com.atlassian.event.EventListener
public class InitialSpaceContentListener
- extends Object
- implements com.atlassian.event.EventListener
Listener that generates the initial content of a space when it is first created. Currently only creates the home page
in a space, with the configured content, but a replacement could be written and dropped into the system that did more
complicated initialisation, such as importing content from a directory.
This listener doesn't handle the content for personal spaces. See the CreatePersonalSpaceListener
for this
functionality.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_HOMEPAGE_TITLE
public static final String DEFAULT_HOMEPAGE_TITLE
- See Also:
- Constant Field Values
InitialSpaceContentListener
public InitialSpaceContentListener()
handleEvent
public void handleEvent(com.atlassian.event.Event event)
- Specified by:
handleEvent
in interface com.atlassian.event.EventListener
handleSpaceCreate
protected void handleSpaceCreate(com.atlassian.event.Event event)
getHandledEventClasses
public Class[] getHandledEventClasses()
- Specified by:
getHandledEventClasses
in interface com.atlassian.event.EventListener
setPageManager
public void setPageManager(PageManager pageManager)
getDefaultHomePageContent
public static String getDefaultHomePageContent()
getSettingsManager
public SettingsManager getSettingsManager()
setSettingsManager
public void setSettingsManager(SettingsManager settingsManager)
setXhtmlContent
public void setXhtmlContent(XhtmlContent xhtmlContent)
Copyright © 2003-2011 Atlassian. All Rights Reserved.