Class ThemeHome
java.lang.Object
fr.paris.lutece.portal.business.theme.ThemeHome
This class provides instances management methods (create, find, ...) for Theme objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThemefindByPrimaryKey(String strCodeTheme) Returns an instance of an theme whose identifier is specified in parameterstatic ThemeReturns the global themestatic ReferenceListReturns a reference list which contains all the themesstatic Collection<Theme>Return the list of all the themesstatic booleanisValidTheme(String strCodeTheme) Checks if the theme is among existing themes
-
Method Details
-
findByPrimaryKey
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
Return the list of all the themes- Returns:
- A collection of themes objects
-
getThemes
Returns a reference list which contains all the themes- Returns:
- a reference list
-
isValidTheme
Checks if the theme is among existing themes- Parameters:
strCodeTheme- The theme to check- Returns:
- True if the theme is valid
-
getGlobalTheme
Returns the global theme- Returns:
- The Global Theme
-