Interface IThemeDAO
-
- All Known Implementing Classes:
ThemeDAO
public interface IThemeDAOThis class provides Data Access methods for Theme objects
-
-
Method Summary
All Methods Instance Methods Abstract 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 mode, 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
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 objectplugin- 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 Themeplugin- 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 Themeplugin- 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 updateplugin- 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 Themeplugin- 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
-
-