public class ThemeContext extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_KEY |
Constructor and Description |
---|
ThemeContext(Space currentSpace,
Theme spaceTheme,
Theme globalTheme) |
Modifier and Type | Method and Description |
---|---|
static ThemeContext |
get(javax.servlet.ServletRequest request) |
Theme |
getAppliedTheme() |
Theme |
getGlobalTheme() |
Space |
getSpace() |
String |
getSpaceKey() |
Theme |
getSpaceTheme() |
boolean |
hasGlobalTheme() |
boolean |
hasSpaceTheme() |
static void |
set(javax.servlet.ServletRequest request,
Space currentSpace,
Theme currentTheme,
Theme globalTheme) |
public static final String ATTRIBUTE_KEY
public static void set(javax.servlet.ServletRequest request, Space currentSpace, Theme currentTheme, Theme globalTheme)
public static ThemeContext get(javax.servlet.ServletRequest request)
public Space getSpace()
public boolean hasSpaceTheme()
public Theme getSpaceTheme()
public boolean hasGlobalTheme()
public Theme getGlobalTheme()
public String getSpaceKey()
public Theme getAppliedTheme()
Copyright © 2003–2021 Atlassian. All rights reserved.