|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.style.ThemeHome
public final class ThemeHome
This class provides instances management methods (create, find, ...) for Theme objects
Method Summary | |
---|---|
static Theme |
create(Theme theme)
Creation of an instance of a theme |
static Theme |
findByPrimaryKey(java.lang.String strCodeTheme)
Returns an instance of an theme whose identifier is specified in parameter |
static java.lang.String |
getGlobalTheme()
Returns the global theme |
static ReferenceList |
getThemes()
Returns a reference list which contains all the themes |
static java.util.Collection<Theme> |
getThemesList()
Return the list of all the themes |
static boolean |
isValidTheme(java.lang.String strCodeTheme)
Checks if the theme is among existing themes |
static void |
remove(java.lang.String strCodeTheme)
Remove the theme whose identifier is specified in parameter |
static void |
setGlobalTheme(java.lang.String strGlobalTheme)
Sets the global theme |
static Theme |
update(Theme theme)
Update of the theme which is specified |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Theme create(Theme theme)
theme
- An instance of a theme which contains the informations to store
public static Theme update(Theme theme)
theme
- The instance of the theme which contains the data to store
public static void remove(java.lang.String strCodeTheme)
nId
- The identifier of the theme to removepublic static Theme findByPrimaryKey(java.lang.String strCodeTheme)
nKey
- The theme primary key
public static java.util.Collection<Theme> getThemesList()
public static ReferenceList getThemes()
public static boolean isValidTheme(java.lang.String strCodeTheme)
strTheme
- The theme to check
public static void setGlobalTheme(java.lang.String strGlobalTheme)
strGlobalTheme
- The Global Themepublic static java.lang.String getGlobalTheme()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |