|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.theme.service.ThemeService
public class ThemeService
ThemeService
| Constructor Summary | |
|---|---|
ThemeService()
|
|
| Method Summary | |
|---|---|
fr.paris.lutece.portal.business.style.Theme |
create(fr.paris.lutece.portal.business.style.Theme theme)
Creation of an instance of a theme |
fr.paris.lutece.portal.business.style.Theme |
getGlobalTheme()
Get the global theme |
static ThemeService |
getInstance()
Return the ThemeService singleton |
fr.paris.lutece.portal.business.style.Theme |
getTheme(String strCodeTheme)
Get the theme with a given code theme |
fr.paris.lutece.util.ReferenceList |
getThemes()
Get the list of themes |
Collection<fr.paris.lutece.portal.business.style.Theme> |
getThemesList()
Return the list of all the themes |
String |
getUserTheme(javax.servlet.http.HttpServletRequest request)
Gets the theme selected by the user |
void |
init()
Init |
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 |
fr.paris.lutece.portal.business.style.Theme |
update(fr.paris.lutece.portal.business.style.Theme theme)
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 |
| Constructor Detail |
|---|
public ThemeService()
| Method Detail |
|---|
public static ThemeService getInstance()
public void init()
public fr.paris.lutece.util.ReferenceList getThemes()
getThemes in interface fr.paris.lutece.portal.service.portal.IThemeServicepublic fr.paris.lutece.portal.business.style.Theme getTheme(String strCodeTheme)
getTheme in interface fr.paris.lutece.portal.service.portal.IThemeServicestrCodeTheme - the code theme
public fr.paris.lutece.portal.business.style.Theme getGlobalTheme()
getGlobalTheme in interface fr.paris.lutece.portal.service.portal.IThemeServicepublic String getUserTheme(javax.servlet.http.HttpServletRequest request)
getUserTheme in interface fr.paris.lutece.portal.service.portal.IThemeServicerequest - The HTTP request
public Collection<fr.paris.lutece.portal.business.style.Theme> getThemesList()
getThemesList in interface fr.paris.lutece.portal.service.portal.IThemeServicepublic void setGlobalTheme(String strGlobalTheme)
setGlobalTheme in interface fr.paris.lutece.portal.service.portal.IThemeServicestrGlobalTheme - the code theme of the global themepublic fr.paris.lutece.portal.business.style.Theme create(fr.paris.lutece.portal.business.style.Theme theme)
create in interface fr.paris.lutece.portal.service.portal.IThemeServicetheme - An instance of a theme which contains the informations to store
public fr.paris.lutece.portal.business.style.Theme update(fr.paris.lutece.portal.business.style.Theme theme)
update in interface fr.paris.lutece.portal.service.portal.IThemeServicetheme - The instance of the theme which contains the data to store
public void remove(String strCodeTheme)
remove in interface fr.paris.lutece.portal.service.portal.IThemeServicestrCodeTheme - The identifier of the theme to removepublic boolean isValidTheme(String strCodeTheme)
isValidTheme in interface fr.paris.lutece.portal.service.portal.IThemeServicestrCodeTheme - The theme to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||