public final class ThemeHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static fr.paris.lutece.portal.business.style.Theme |
create(fr.paris.lutece.portal.business.style.Theme theme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of a theme
|
static fr.paris.lutece.portal.business.style.Theme |
findByPrimaryKey(String strCodeTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of an theme whose identifier is specified in parameter
|
static fr.paris.lutece.portal.business.style.Theme |
getGlobalTheme(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the global theme
|
static fr.paris.lutece.util.ReferenceList |
getThemes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a reference list which contains all the themes
|
static Collection<fr.paris.lutece.portal.business.style.Theme> |
getThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the list of all the themes
|
static boolean |
isValidTheme(String strCodeTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Checks if the theme is among existing themes
|
static void |
remove(String strCodeTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the theme whose identifier is specified in parameter
|
static void |
setGlobalTheme(String strGlobalTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Sets the global theme
|
static fr.paris.lutece.portal.business.style.Theme |
update(fr.paris.lutece.portal.business.style.Theme theme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the theme which is specified
|
public static fr.paris.lutece.portal.business.style.Theme create(fr.paris.lutece.portal.business.style.Theme theme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
theme - An instance of a theme which contains the informations to storeplugin - Pluginpublic static fr.paris.lutece.portal.business.style.Theme update(fr.paris.lutece.portal.business.style.Theme theme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
theme - The instance of the theme which contains the data to storeplugin - Pluginpublic static void remove(String strCodeTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCodeTheme - The identifier of the theme to removeplugin - Pluginpublic static fr.paris.lutece.portal.business.style.Theme findByPrimaryKey(String strCodeTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCodeTheme - The theme primary keyplugin - Pluginpublic static Collection<fr.paris.lutece.portal.business.style.Theme> getThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginpublic static fr.paris.lutece.util.ReferenceList getThemes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Pluginpublic static boolean isValidTheme(String strCodeTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCodeTheme - The theme to checkplugin - Pluginpublic static void setGlobalTheme(String strGlobalTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strGlobalTheme - The Global Themeplugin - Pluginpublic static fr.paris.lutece.portal.business.style.Theme getGlobalTheme(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - PluginCopyright © 2015 City of Paris. All rights reserved.