public final class AreaHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Area |
create(Area area)
Create an instance of the area class
|
static Area |
findByPrimaryKey(int nKey)
Returns an instance of a area whose identifier is specified in parameter
|
static List<Area> |
getAreasList()
Load the data of all the area objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getAreasReferenceList(String campaignCode)
Load the data of the area objects by campaign code and returns them as a referenceList
|
static List<Integer> |
getIdAreasList()
Load the id of all the area objects and returns them as a list
|
static void |
remove(int nKey)
Remove the area whose identifier is specified in parameter
|
static Area |
update(Area area)
Update of the area which is specified in parameter
|
public static Area create(Area area)
area - The instance of the Area which contains the informations to storepublic static Area update(Area area)
area - The instance of the Area which contains the data to storepublic static void remove(int nKey)
nKey - The area Idpublic static Area findByPrimaryKey(int nKey)
nKey - The area primary keypublic static List<Area> getAreasList()
public static List<Integer> getIdAreasList()
public static fr.paris.lutece.util.ReferenceList getAreasReferenceList(String campaignCode)
campaignCode - the campaign codeCopyright © 2022 City of Paris. All rights reserved.