com.atlassian.confluence.content.service
Class DefaultWelcomeMessageService

java.lang.Object
  extended by com.atlassian.confluence.content.service.DefaultWelcomeMessageService
All Implemented Interfaces:
WelcomeMessageService

public class DefaultWelcomeMessageService
extends Object
implements WelcomeMessageService


Field Summary
 
Fields inherited from interface com.atlassian.confluence.content.service.WelcomeMessageService
WELCOME_MESSAGE_TEMPLATE_KEY, WELCOME_MESSAGE_TEMPLATE_NAME
 
Constructor Summary
DefaultWelcomeMessageService(SystemTemplateManager systemTemplateManager, FormatConverter formatConverter)
           
 
Method Summary
 String getWelcomeMessage()
           
 void saveWelcomeMessage(String content)
          Save the give welcome message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWelcomeMessageService

public DefaultWelcomeMessageService(SystemTemplateManager systemTemplateManager,
                                    FormatConverter formatConverter)
Method Detail

getWelcomeMessage

public String getWelcomeMessage()
Specified by:
getWelcomeMessage in interface WelcomeMessageService
Returns:
the site welcome message, as an HTML string

saveWelcomeMessage

public void saveWelcomeMessage(String content)
Description copied from interface: WelcomeMessageService
Save the give welcome message. If null is passed in, it will be reset.

Specified by:
saveWelcomeMessage in interface WelcomeMessageService
Parameters:
content - to save in xhtml storage format


Copyright © 2003–2015 Atlassian. All rights reserved.