fr.paris.lutece.plugins.theme.business
Interface IThemeDAO

All Known Implementing Classes:
ThemeDAO

public interface IThemeDAO

This class provides Data Access methods for Theme objects


Method Summary
 void delete(java.lang.String strCodeTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 fr.paris.lutece.portal.business.style.Theme getGlobalTheme(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns the global theme
 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
 void insert(fr.paris.lutece.portal.business.style.Theme mode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 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
 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
 void setGlobalTheme(java.lang.String strGlobalTheme, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Sets the global theme
 void store(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

void insert(fr.paris.lutece.portal.business.style.Theme mode,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
mode - The mode object
plugin - Plugin

load

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

Parameters:
strCodeTheme - The indentifier of the object Theme
plugin - Plugin
Returns:
The Instance of the object Theme

delete

void delete(java.lang.String strCodeTheme,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
strCodeTheme - The indentifier of the object Theme
plugin - Plugin

store

void store(fr.paris.lutece.portal.business.style.Theme theme,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
theme - The instance of the Theme to update
plugin - Plugin

selectThemesList

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

Parameters:
plugin - Plugin
Returns:
A collection of themes objects

getThemesList

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

Parameters:
plugin - Plugin
Returns:
the themes list in form of a ReferenceList object

setGlobalTheme

void setGlobalTheme(java.lang.String strGlobalTheme,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Sets the global theme

Parameters:
strGlobalTheme - The Global Theme
plugin - Plugin

getGlobalTheme

fr.paris.lutece.portal.business.style.Theme getGlobalTheme(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the global theme

Parameters:
plugin - Plugin
Returns:
The Global Theme


Copyright © 2012 Mairie de Paris. All Rights Reserved.