Interface IThemeService

All Known Implementing Classes:
ThemeService

public interface IThemeService
IThemeService
  • Method Details

    • getGlobalTheme

      Theme getGlobalTheme()
      Get the global theme
      Returns:
      the default theme
    • setGlobalTheme

      void setGlobalTheme(String strGlobalTheme, String strGlobalThemeVersion)
      Set the global theme
      Parameters:
      strGlobalTheme - the global theme
    • getTheme

      Theme getTheme(String strTheme)
      Get the theme given the code_theme
      Parameters:
      strTheme - the code_theme
      Returns:
      the theme
    • getThemes

      ReferenceList getThemes()
      Get all themes
      Returns:
      a list of Theme
    • getUserTheme

      String getUserTheme(jakarta.servlet.http.HttpServletRequest request)
      Gets the theme selected by the user
      Parameters:
      request - The HTTP request
      Returns:
      The theme if available otherwise null
    • getThemesList

      Collection<Theme> getThemesList()
      Return the list of all the themes
      Returns:
      A collection of themes objects
    • isValidTheme

      boolean isValidTheme(String strCodeTheme)
      Checks if the theme is among existing themes
      Parameters:
      strCodeTheme - The theme to check
      Returns:
      True if the theme is valid