Class Overview
Context object placed in the HttpServletRequest attributes that the theme manager can use to determine what the
'context' of the current request might be. Currently we just stick the space in here but there's room for expansion.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
public
static
final
String
ATTRIBUTE_KEY
Constant Value:
"confluence.themecontext"
Public Constructors
public
ThemeContext
(Space currentSpace, Theme spaceTheme, Theme globalTheme)
Public Methods
public
Theme
getAppliedTheme
()
public
Theme
getGlobalTheme
()
public
Theme
getSpaceTheme
()
public
boolean
hasGlobalTheme
()
public
boolean
hasSpaceTheme
()
public
static
void
set
(ServletRequest request, Space currentSpace, Theme currentTheme, Theme globalTheme)