Class AbstractThemeAction

    • Field Detail

      • themeKey

        protected String themeKey
    • Constructor Detail

      • AbstractThemeAction

        public AbstractThemeAction()
    • Method Detail

      • 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
        validate in class com.opensymphony.xwork2.ActionSupport
      • execute

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

        protected abstract void setTheme​(String themeKey)
      • 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