Class ThemeDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.theme.business.ThemeDAO
-
-
Constructor Summary
Constructors Constructor Description ThemeDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(java.lang.String strCodeTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablefr.paris.lutece.portal.business.style.ThemegetGlobalTheme(fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns the global themefr.paris.lutece.util.ReferenceListgetThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns the list of the themes in form of a reference listvoidinsert(fr.paris.lutece.portal.business.style.Theme theme, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.fr.paris.lutece.portal.business.style.Themeload(java.lang.String strCodeTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)load the data of Level from the tablejava.util.Collection<fr.paris.lutece.portal.business.style.Theme>selectThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns a list of all the themesvoidsetGlobalTheme(java.lang.String strGlobalTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)Sets the global themevoidstore(fr.paris.lutece.portal.business.style.Theme theme, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(fr.paris.lutece.portal.business.style.Theme theme, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.
-
load
public fr.paris.lutece.portal.business.style.Theme load(java.lang.String strCodeTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)load the data of Level from the table
-
delete
public void delete(java.lang.String strCodeTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table
-
store
public void store(fr.paris.lutece.portal.business.style.Theme theme, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
selectThemesList
public java.util.Collection<fr.paris.lutece.portal.business.style.Theme> selectThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of all the themes- Specified by:
selectThemesListin interfaceIThemeDAO- Parameters:
plugin- Plugin- Returns:
- A collection of themes objects
-
getThemesList
public fr.paris.lutece.util.ReferenceList getThemesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of the themes in form of a reference list- Specified by:
getThemesListin interfaceIThemeDAO- Parameters:
plugin- Plugin- Returns:
- the themes list in form of a ReferenceList object
-
setGlobalTheme
public void setGlobalTheme(java.lang.String strGlobalTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)Sets the global theme- Specified by:
setGlobalThemein interfaceIThemeDAO- Parameters:
strGlobalTheme- The Global Themeplugin- Plugin
-
getGlobalTheme
public fr.paris.lutece.portal.business.style.Theme getGlobalTheme(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the global theme- Specified by:
getGlobalThemein interfaceIThemeDAO- Parameters:
plugin- Plugin- Returns:
- The Global Theme
-
-