Class DefaultWelcomeMessageService
- java.lang.Object
-
- 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
Constructors Constructor Description DefaultWelcomeMessageService(SystemTemplateManager systemTemplateManager, FormatConverter formatConverter, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, com.google.common.base.Supplier<WebResourceDependenciesRecorder> webResourceDependenciesRecorder, I18NBeanFactory i18NBeanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getWelcomeMessage()
com.atlassian.fugue.Pair<String,WebResourceDependenciesRecorder.RecordedResources>
getWelcomeMessageResource()
Deprecated.since 7.0.1.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
-
Methods inherited from interface com.atlassian.confluence.content.service.WelcomeMessageService
getResourceForWelcomeMessage
-
-
-
-
Constructor Detail
-
DefaultWelcomeMessageService
public DefaultWelcomeMessageService(SystemTemplateManager systemTemplateManager, FormatConverter formatConverter, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, com.google.common.base.Supplier<WebResourceDependenciesRecorder> webResourceDependenciesRecorder, I18NBeanFactory i18NBeanFactory)
- Since:
- 5.10
-
-
Method Detail
-
getWelcomeMessage
public String getWelcomeMessage()
- Specified by:
getWelcomeMessage
in interfaceWelcomeMessageService
- Returns:
- the site welcome message, as an HTML string
-
getWelcomeMessageResource
@Deprecated public com.atlassian.fugue.Pair<String,WebResourceDependenciesRecorder.RecordedResources> getWelcomeMessageResource()
Deprecated.since 7.0.1. UseWelcomeMessageService.getResourceForWelcomeMessage()
- Specified by:
getWelcomeMessageResource
in interfaceWelcomeMessageService
-
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 interfaceWelcomeMessageService
- Parameters:
content
- to save in xhtml storage format
-
-