Class ChooseThemeAction

All Implemented Interfaces:
WebInterface, SpaceAdministrative, SpaceAware, Spaced, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class ChooseThemeAction extends AbstractThemeAction implements SpaceAdministrative, SpaceAware
See Also:
  • Constructor Details

    • ChooseThemeAction

      public ChooseThemeAction()
  • Method Details

    • setTheme

      protected void setTheme(String themeKey)
      Specified by:
      setTheme in class AbstractThemeAction
    • getCurrentThemeKey

      protected String getCurrentThemeKey()
      Specified by:
      getCurrentThemeKey in class AbstractThemeAction
    • getConfigPath

      public String getConfigPath(ThemeModuleDescriptor descriptor)
      returns the context path for the space configuration.
      Specified by:
      getConfigPath in class AbstractThemeAction
      Parameters:
      descriptor - - space configuration
      Returns:
      the context path for the space configuration.
    • isSpaceRequired

      public boolean isSpaceRequired()
      Description copied from interface: SpaceAware
      If the action requires that the space be set before being run, then it should return true to this method. If the action requires a space, but no space is available, then the interceptor will automatically redirect to the 'pagenotfound' result
      Specified by:
      isSpaceRequired in interface SpaceAware
      Returns:
      true if the action requires a space in order to execute
    • isViewPermissionRequired

      public boolean isViewPermissionRequired()
      Specified by:
      isViewPermissionRequired in interface SpaceAware
      Returns:
      true if the action requires view space permission
    • setAuditingContext

      public void setAuditingContext(AuditingContext auditingContext)