Class DefaultGlobalDescriptionManager
- java.lang.Object
-
- com.atlassian.confluence.impl.settings.DefaultGlobalDescriptionManager
-
- All Implemented Interfaces:
GlobalDescriptionManager
public class DefaultGlobalDescriptionManager extends Object implements GlobalDescriptionManager
An implementation ofGlobalDescriptionManager
that deleates to aGlobalDescriptionDao
.- Since:
- 7.7
-
-
Constructor Summary
Constructors Constructor Description DefaultGlobalDescriptionManager(GlobalDescriptionDao globalDescriptionDao, com.atlassian.bandana.BandanaManager bandanaManager, com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalDescription
getGlobalDescription()
Long
getRecordIdFromLongTermMemory()
void
onApplicationStartedEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
void
postConstruct()
void
saveRecordIdIntoLongTermMemory(long id)
void
updateGlobalDescription(GlobalDescription globalDescription)
-
-
-
Constructor Detail
-
DefaultGlobalDescriptionManager
public DefaultGlobalDescriptionManager(GlobalDescriptionDao globalDescriptionDao, com.atlassian.bandana.BandanaManager bandanaManager, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Detail
-
postConstruct
@PostConstruct public void postConstruct()
-
onApplicationStartedEvent
@EventListener public void onApplicationStartedEvent(com.atlassian.config.lifecycle.events.ApplicationStartedEvent event)
-
getGlobalDescription
public GlobalDescription getGlobalDescription()
- Specified by:
getGlobalDescription
in interfaceGlobalDescriptionManager
-
updateGlobalDescription
public void updateGlobalDescription(GlobalDescription globalDescription)
- Specified by:
updateGlobalDescription
in interfaceGlobalDescriptionManager
-
getRecordIdFromLongTermMemory
public Long getRecordIdFromLongTermMemory()
-
saveRecordIdIntoLongTermMemory
public void saveRecordIdIntoLongTermMemory(long id)
-
-