|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.base.theme.AbstractThemeManager
com.jivesoftware.forum.theme.ForumThemeManager
public class ForumThemeManager
Adds additional features to manage themes for the forums application, including binding themes to categories and forums.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jivesoftware.base.theme.AbstractThemeManager |
|---|
AbstractThemeManager.ThemePutTask, AbstractThemeManager.ThemeRemoveTask |
| Field Summary | |
|---|---|
static java.lang.String |
THEME_KEY
|
| Fields inherited from class com.jivesoftware.base.theme.AbstractThemeManager |
|---|
globalTheme, THEME_CONFIG_FILENAME, themeMaps, themes, themesDir |
| Constructor Summary | |
|---|---|
ForumThemeManager()
|
|
| Method Summary | |
|---|---|
void |
addThemeMap(java.lang.String theme,
ThemeMap themeMap)
Adds a theme mapping to the system. |
void |
categoryAdded(CategoryEvent event)
Fired when a category has been added to the system. |
void |
categoryDeleted(CategoryEvent event)
Fired when a category is about to be deleted from the system. |
void |
categoryModified(CategoryEvent event)
Fired when a category has been modified. |
void |
categoryMoved(CategoryEvent event)
Fired when a category has been moved from one category to another. |
Theme |
determineTheme(com.opensymphony.xwork.ActionContext ac,
javax.servlet.http.HttpServletRequest request)
Returns the Theme corresponding to the given parameters, or null if no theme meets the criteria. |
void |
forumAdded(ForumEvent event)
Fired when a forum has been added to the system. |
void |
forumDeleted(ForumEvent event)
Fired when a forum is about to be deleted from the system. |
void |
forumMerged(ForumEvent event)
Fired when a forum is merged into another forum. |
void |
forumModified(ForumEvent event)
Fired when a forum is modified. |
void |
forumMoved(ForumEvent event)
Fired when a forum has been moved from one category to another. |
protected boolean |
isNumValue(ThemeMap themeMap)
Returns true if the themeMap is using a number value, false if it's using a string value. |
| Methods inherited from class com.jivesoftware.base.theme.AbstractThemeManager |
|---|
deleteThemeMap, getGlobalTheme, getTheme, getTheme, getTheme, getThemeByName, getThemeHome, getThemeMaps, getThemes, reloadThemeMaps |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String THEME_KEY
| Constructor Detail |
|---|
public ForumThemeManager()
| Method Detail |
|---|
public void addThemeMap(java.lang.String theme,
ThemeMap themeMap)
ThemeManager
addThemeMap in interface ThemeManageraddThemeMap in class AbstractThemeManagertheme - the name of the themethemeMap - the ThemeMap containing the criteria used to determine when to use the theme
public Theme determineTheme(com.opensymphony.xwork.ActionContext ac,
javax.servlet.http.HttpServletRequest request)
ThemeManager
determineTheme in interface ThemeManagerdetermineTheme in class AbstractThemeManagerac - the action contextrequest - the servlet request
Themeprotected boolean isNumValue(ThemeMap themeMap)
AbstractThemeManager
isNumValue in class AbstractThemeManagerthemeMap - the ThemeMap to check the value for
public void forumAdded(ForumEvent event)
ForumListener
forumAdded in interface ForumListenerevent - the event object.public void forumDeleted(ForumEvent event)
ForumListener
forumDeleted in interface ForumListenerevent - the event object.public void forumMoved(ForumEvent event)
ForumListener
forumMoved in interface ForumListenerevent - the event object.public void forumModified(ForumEvent event)
ForumListener
forumModified in interface ForumListenerevent - the event object.public void forumMerged(ForumEvent event)
ForumListener
forumMerged in interface ForumListenerevent - the event object.public void categoryAdded(CategoryEvent event)
CategoryListener
categoryAdded in interface CategoryListenerevent - the event object.public void categoryDeleted(CategoryEvent event)
CategoryListener
categoryDeleted in interface CategoryListenerevent - the event object.public void categoryMoved(CategoryEvent event)
CategoryListener
categoryMoved in interface CategoryListenerevent - the event object.public void categoryModified(CategoryEvent event)
CategoryListener
categoryModified in interface CategoryListenerevent - the event object.
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||