|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThemeManager
Manages all aspects of themes and theme maps. Use the ThemeManagerFactory.getInstance()
method to retrieve a concrete instance of this interface.
Method Summary | |
---|---|
void |
addThemeMap(java.lang.String theme,
ThemeMap themeMap)
Adds a theme mapping to the system. |
void |
deleteThemeMap(ThemeMap themeMap)
Removes a theme mapping from the system. |
Theme |
determineTheme(com.opensymphony.xwork.ActionContext context,
javax.servlet.http.HttpServletRequest request)
Returns the Theme corresponding to the given parameters, or null if no theme meets the criteria. |
Theme |
getGlobalTheme()
Returns the Theme object that is currently installed as the 'Global' theme, or null if a global theme is not installed. |
Theme |
getTheme(ThemeMap themeMap)
Returns the Theme object corresponding to the provided themeMap, or null if no association is found. |
java.lang.String |
getThemeHome()
Returns the absolute path to the theme home directory. |
java.util.Map |
getThemeMaps()
Returns a Map of theme name -> ThemeMap objects. |
java.util.Collection |
getThemes()
Returns a Collection of Theme objects for all the themes in the system. |
void |
reloadThemeMaps()
Used to force a reload (and resort) of theme maps. |
Method Detail |
---|
java.lang.String getThemeHome()
java.util.Collection getThemes()
java.util.Map getThemeMaps()
ThemeMap
Theme getGlobalTheme()
Theme getTheme(ThemeMap themeMap)
themeMap
- the theme map to use to retrieve the theme
Theme determineTheme(com.opensymphony.xwork.ActionContext context, javax.servlet.http.HttpServletRequest request)
context
- the action contextrequest
- the servlet request
Theme
void addThemeMap(java.lang.String theme, ThemeMap themeMap)
theme
- the name of the themethemeMap
- the ThemeMap containing the criteria used to determine when to use the themevoid deleteThemeMap(ThemeMap themeMap)
themeMap
- the ThemeMap to remove.void reloadThemeMaps()
ThemeType
priorities have been changed.
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |