Class BandanaThemeKeyDao
- java.lang.Object
-
- com.atlassian.confluence.impl.themes.BandanaThemeKeyDao
-
- All Implemented Interfaces:
ThemeKeyDao
public class BandanaThemeKeyDao extends Object implements ThemeKeyDao
An implementation ofThemeKeyDao
backed by Bandana.- Since:
- 7.7
-
-
Constructor Summary
Constructors Constructor Description BandanaThemeKeyDao(com.atlassian.bandana.BandanaManager bandanaManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getGlobalThemeKey()
Optional<String>
getSpaceThemeKey(String spaceKey)
void
setGlobalThemeKey(String themeCompleteKey)
void
setSpaceThemeKey(String spaceKey, String themeKey)
-
-
-
Method Detail
-
getGlobalThemeKey
public Optional<String> getGlobalThemeKey()
- Specified by:
getGlobalThemeKey
in interfaceThemeKeyDao
-
setGlobalThemeKey
public void setGlobalThemeKey(String themeCompleteKey)
- Specified by:
setGlobalThemeKey
in interfaceThemeKeyDao
-
getSpaceThemeKey
public Optional<String> getSpaceThemeKey(@Nullable String spaceKey)
- Specified by:
getSpaceThemeKey
in interfaceThemeKeyDao
-
setSpaceThemeKey
public void setSpaceThemeKey(String spaceKey, String themeKey)
- Specified by:
setSpaceThemeKey
in interfaceThemeKeyDao
-
-