|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.theme.business.ThemeHome
public final class ThemeHome
This class provides instances management methods (create, find, ...) for Theme objects
| Method Summary | |
|---|---|
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(java.lang.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 java.util.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(java.lang.String strCodeTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Checks if the theme is among existing themes |
static void |
remove(java.lang.String strCodeTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the theme whose identifier is specified in parameter |
static void |
setGlobalTheme(java.lang.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 - Plugin
public 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 - Plugin
public static void remove(java.lang.String strCodeTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCodeTheme - The identifier of the theme to removeplugin - Plugin
public static fr.paris.lutece.portal.business.style.Theme findByPrimaryKey(java.lang.String strCodeTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCodeTheme - The theme primary keyplugin - Plugin
public static java.util.Collection<fr.paris.lutece.portal.business.style.Theme> getThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
public static fr.paris.lutece.util.ReferenceList getThemes(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
public static boolean isValidTheme(java.lang.String strCodeTheme,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCodeTheme - The theme to checkplugin - Plugin
public static void setGlobalTheme(java.lang.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 - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||