public abstract class

AbstractThemeAction

extends AbstractLookAndFeelAction
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.spaces.actions.AbstractSpaceAction
         ↳ com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction
           ↳ com.atlassian.confluence.admin.actions.lookandfeel.AbstractThemeAction
Known Direct Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
Fields
protected String themeKey
[Expand]
Inherited Fields
From class com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
AbstractThemeAction()
Public Methods
String execute()
List getAvailableThemeDescriptors()
ThemeModuleDescriptor getCurrentThemeDescriptor()
String getThemeKey()
boolean hasIcon(ThemeModuleDescriptor descriptor)
void setThemeKey(String themeKey)
void validate()
Protected Methods
abstract String getConfigPath(ThemeModuleDescriptor descriptor)
returns the Config Path for the theme defined in the theme plugin.xml
abstract String getCurrentThemeKey()
abstract void setTheme(String themeKey)
[Expand]
Inherited Methods
From class com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.atlassian.confluence.spaces.Spaced
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Fields

protected String themeKey

Public Constructors

public AbstractThemeAction ()

Public Methods

public String execute ()

public List getAvailableThemeDescriptors ()

public ThemeModuleDescriptor getCurrentThemeDescriptor ()

public String getThemeKey ()

public boolean hasIcon (ThemeModuleDescriptor descriptor)

public void setThemeKey (String themeKey)

public void validate ()

Protected Methods

protected abstract String getConfigPath (ThemeModuleDescriptor descriptor)

returns the Config Path for the theme defined in the theme plugin.xml

protected abstract String getCurrentThemeKey ()

protected abstract void setTheme (String themeKey)