Class CachingThemeKeyDao
java.lang.Object
com.atlassian.confluence.impl.themes.CachingThemeKeyDao
- All Implemented Interfaces:
ThemeKeyDao
An implementation of
ThemeKeyDao
that caches the responses from a delegate.- Since:
- 7.7
-
Method Summary
Modifier and TypeMethodDescriptionstatic CachingThemeKeyDao
create
(ThemeKeyDao delegate, com.atlassian.cache.CacheFactory cacheFactory) getSpaceThemeKey
(@Nullable String spaceKey) void
setGlobalThemeKey
(String themeKey) void
setSpaceThemeKey
(String spaceKey, String themeKey)
-
Method Details
-
create
public static CachingThemeKeyDao create(ThemeKeyDao delegate, com.atlassian.cache.CacheFactory cacheFactory) -
getGlobalThemeKey
- Specified by:
getGlobalThemeKey
in interfaceThemeKeyDao
-
getSpaceThemeKey
- Specified by:
getSpaceThemeKey
in interfaceThemeKeyDao
-
setGlobalThemeKey
- Specified by:
setGlobalThemeKey
in interfaceThemeKeyDao
-
setSpaceThemeKey
- Specified by:
setSpaceThemeKey
in interfaceThemeKeyDao
-