Class ThemeDAO

java.lang.Object
fr.paris.lutece.portal.business.theme.ThemeDAO
All Implemented Interfaces:
IThemeDAO

@ApplicationScoped public class ThemeDAO extends Object implements IThemeDAO
This class provides Data Access methods for Theme objects
  • Constructor Details

    • ThemeDAO

      public ThemeDAO()
  • Method Details

    • load

      public Theme load(String strCodeTheme)
      load the data of Level from the table
      Specified by:
      load in interface IThemeDAO
      Parameters:
      strCodeTheme - The indentifier of the object Theme
      Returns:
      The Instance of the object Theme
    • selectThemesList

      public Collection<Theme> selectThemesList()
      Returns a list of all the themes
      Specified by:
      selectThemesList in interface IThemeDAO
      Returns:
      A collection of themes objects
    • getThemesList

      public ReferenceList getThemesList()
      Returns the list of the themes in form of a reference list
      Specified by:
      getThemesList in interface IThemeDAO
      Returns:
      the themes list in form of a ReferenceList object
    • getGlobalTheme

      public Theme getGlobalTheme()
      Returns the global theme
      Specified by:
      getGlobalTheme in interface IThemeDAO
      Returns:
      The Global Theme