|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.style.ThemeDAO
public final class ThemeDAO
This class provides Data Access methods for Theme objects
Constructor Summary | |
---|---|
ThemeDAO()
|
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 theme)
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThemeDAO()
Method Detail |
---|
public void insert(Theme theme)
insert
in interface IThemeDAO
theme
- The mode objectpublic Theme load(java.lang.String strCodeTheme)
load
in interface IThemeDAO
strCodeTheme
- The indentifier of the object Theme
public void delete(java.lang.String strCodeTheme)
delete
in interface IThemeDAO
strCodeTheme
- The indentifier of the object Themepublic void store(Theme theme)
store
in interface IThemeDAO
theme
- The instance of the Theme to updatepublic java.util.Collection<Theme> selectThemesList()
selectThemesList
in interface IThemeDAO
public ReferenceList getThemesList()
getThemesList
in interface IThemeDAO
public void setGlobalTheme(java.lang.String strGlobalTheme)
setGlobalTheme
in interface IThemeDAO
strGlobalTheme
- The Global Themepublic java.lang.String getGlobalTheme()
getGlobalTheme
in interface IThemeDAO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |