Class ThemeHome

java.lang.Object
fr.paris.lutece.portal.business.theme.ThemeHome

public final class ThemeHome extends Object
This class provides instances management methods (create, find, ...) for Theme objects
  • Method Details

    • findByPrimaryKey

      public static Theme findByPrimaryKey(String strCodeTheme)
      Returns an instance of an theme whose identifier is specified in parameter
      Parameters:
      strCodeTheme - The theme primary key
      Returns:
      an instance of a theme
    • getThemesList

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

      public static ReferenceList getThemes()
      Returns a reference list which contains all the themes
      Returns:
      a reference list
    • isValidTheme

      public static 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
    • getGlobalTheme

      public static Theme getGlobalTheme()
      Returns the global theme
      Returns:
      The Global Theme