public interface IThemeService
Modifier and Type | Method and Description |
---|---|
Theme |
create(Theme theme)
Creation of an instance of a theme
|
Theme |
getGlobalTheme()
Get the global theme
|
Theme |
getTheme(String strTheme)
Get the theme given the
code_theme |
ReferenceList |
getThemes()
Get all themes
|
Collection<Theme> |
getThemesList()
Return the list of all the themes
|
String |
getUserTheme(javax.servlet.http.HttpServletRequest request)
Gets the theme selected by the user
|
boolean |
isValidTheme(String strCodeTheme)
Checks if the theme is among existing themes
|
void |
remove(String strCodeTheme)
Remove the theme whose identifier is specified in parameter
|
void |
setGlobalTheme(String strGlobalTheme)
Set the global theme
|
Theme |
update(Theme theme)
Update of the theme which is specified
|
Theme getGlobalTheme()
void setGlobalTheme(String strGlobalTheme)
strGlobalTheme
- the global themeTheme getTheme(String strTheme)
code_theme
strTheme
- the code_theme
ReferenceList getThemes()
String getUserTheme(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestTheme create(Theme theme)
theme
- An instance of a theme which contains the informations to storeTheme update(Theme theme)
theme
- The instance of the theme which contains the data to storevoid remove(String strCodeTheme)
strCodeTheme
- The identifier of the theme to removeCollection<Theme> getThemesList()
boolean isValidTheme(String strCodeTheme)
strCodeTheme
- The theme to checkCopyright © 2020 City of Paris. All rights reserved.