public final class ThemeHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Theme |
create(Theme theme)
Create an instance of the theme class
|
static Theme |
findByCodeTheme(String codeTheme)
Returns an instance of a campagneTheme whose identifier is specified in parameter
|
static Theme |
findByPrimaryKey(int nKey)
Returns an instance of a theme whose identifier is specified in parameter
|
static List<Integer> |
getIdThemesList()
Load the id of all the theme objects and returns them as a list
|
static List<Theme> |
getThemesList()
Load the data of all the theme objects and returns them as a list
|
static Collection<Theme> |
getThemesListByCampaign(String codeCampaign)
Load the data of all the campagneTheme objects for a campagne and returns them in form of a collection
|
static Map<String,List<Theme>> |
getThemesMapByCampaign()
Load the data of all the campagneTheme objects mapped from campagne code and returns them in form of a map
|
static fr.paris.lutece.util.ReferenceList |
getThemesReferenceList()
Load the data of all the theme objects and returns them as a referenceList
|
static void |
remove(int nKey)
Remove the theme whose identifier is specified in parameter
|
static Theme |
update(Theme theme)
Update of the theme which is specified in parameter
|
public static Theme create(Theme theme)
theme - The instance of the Theme which contains the informations to storepublic static Theme update(Theme theme)
theme - The instance of the Theme which contains the data to storepublic static void remove(int nKey)
nKey - The theme Idpublic static Theme findByPrimaryKey(int nKey)
nKey - The theme primary keypublic static List<Theme> getThemesList()
public static List<Integer> getIdThemesList()
public static fr.paris.lutece.util.ReferenceList getThemesReferenceList()
public static Collection<Theme> getThemesListByCampaign(String codeCampaign)
codeCampagne - Campagne courantepublic static Map<String,List<Theme>> getThemesMapByCampaign()
Copyright © 2022 City of Paris. All rights reserved.