Class DefaultWelcomeMessageService
java.lang.Object
com.atlassian.confluence.content.service.DefaultWelcomeMessageService
- All Implemented Interfaces:
WelcomeMessageService
-
Field Summary
Fields inherited from interface com.atlassian.confluence.content.service.WelcomeMessageService
WELCOME_MESSAGE_TEMPLATE_KEY, WELCOME_MESSAGE_TEMPLATE_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultWelcomeMessageService
(SystemTemplateManager systemTemplateManager, FormatConverter formatConverter, com.atlassian.webresource.api.WebResourceUrlProvider webResourceUrlProvider, I18NBeanFactory i18NBeanFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
saveWelcomeMessage
(String content) Save the give welcome message.
-
Constructor Details
-
DefaultWelcomeMessageService
public DefaultWelcomeMessageService(SystemTemplateManager systemTemplateManager, FormatConverter formatConverter, com.atlassian.webresource.api.WebResourceUrlProvider webResourceUrlProvider, I18NBeanFactory i18NBeanFactory) - Since:
- 5.10
-
-
Method Details
-
getWelcomeMessage
- Specified by:
getWelcomeMessage
in interfaceWelcomeMessageService
- Returns:
- the site welcome message, as an HTML string
-
saveWelcomeMessage
Description copied from interface:WelcomeMessageService
Save the give welcome message. If null is passed in, it will be reset.- Specified by:
saveWelcomeMessage
in interfaceWelcomeMessageService
- Parameters:
content
- to save in xhtml storage format
-