fr.paris.lutece.portal.business.style
Interface IThemeDAO

All Known Implementing Classes:
ThemeDAO

public interface IThemeDAO


Method Summary
 void delete(java.lang.String strCodeTheme)
          Delete a record from the table
 java.lang.String getGlobalTheme()
          Returns the global theme
 ReferenceList getThemesList()
          Returns the list of the themes in form of a reference list
 void insert(Theme mode)
          Insert a new record in the table.
 Theme load(java.lang.String strCodeTheme)
          load the data of Level from the table
 java.util.Collection<Theme> selectThemesList()
          Returns a list of all the themes
 void setGlobalTheme(java.lang.String strGlobalTheme)
          Sets the global theme
 void store(Theme theme)
          Update the record in the table
 

Method Detail

insert

void insert(Theme mode)
Insert a new record in the table.

Parameters:
mode - The mode object

load

Theme load(java.lang.String strCodeTheme)
load the data of Level from the table

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

delete

void delete(java.lang.String strCodeTheme)
Delete a record from the table

Parameters:
strCodeTheme - The indentifier of the object Theme

store

void store(Theme theme)
Update the record in the table

Parameters:
theme - The instance of the Theme to update

selectThemesList

java.util.Collection<Theme> selectThemesList()
Returns a list of all the themes

Returns:
A collection of themes objects

getThemesList

ReferenceList getThemesList()
Returns the list of the themes in form of a reference list

Returns:
the themes list in form of a ReferenceList object

setGlobalTheme

void setGlobalTheme(java.lang.String strGlobalTheme)
Sets the global theme

Parameters:
strGlobalTheme - The Global Theme

getGlobalTheme

java.lang.String getGlobalTheme()
Returns the global theme

Returns:
The Global Theme


Copyright © 2010 Mairie de Paris. All Rights Reserved.