Class AbstractThemeAction

All Implemented Interfaces:
WebInterface, SpaceAdministrative, Spaced, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
ChooseThemeAction, ChooseThemeAction

public abstract class AbstractThemeAction extends AbstractLookAndFeelAction
See Also:
  • Field Details

    • themeKey

      protected String themeKey
  • Constructor Details

    • AbstractThemeAction

      public AbstractThemeAction()
  • Method Details

    • setThemeKey

      public void setThemeKey(String themeKey)
    • getThemeKey

      public String getThemeKey()
    • getAvailableThemeDescriptors

      public List getAvailableThemeDescriptors()
    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • execute

      public String execute()
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
    • setTheme

      protected abstract void setTheme(String themeKey)
    • getCurrentThemeDescriptor

      public ThemeModuleDescriptor getCurrentThemeDescriptor()
    • hasIcon

      public boolean hasIcon(ThemeModuleDescriptor descriptor)
    • getCurrentThemeKey

      protected abstract String getCurrentThemeKey()
    • getConfigPath

      protected abstract String getConfigPath(ThemeModuleDescriptor descriptor)
      returns the Config Path for the theme defined in the theme plugin.xml