Class BasemapHome
- java.lang.Object
-
- fr.paris.lutece.plugins.carto.business.BasemapHome
-
public final class BasemapHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for Basemap objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Basemapcreate(Basemap basemap)Create an instance of the basemap classstatic java.util.Optional<Basemap>findByPrimaryKey(int nKey)Returns an instance of a basemap whose identifier is specified in parameterstatic java.util.List<Basemap>getBasemapsList()Load the data of all the basemap objects and returns them as a liststatic java.util.List<Basemap>getBasemapsListByIds(java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetBasemapsReferenceList()Load the data of all the basemap objects and returns them as a referenceListstatic java.util.List<java.lang.Integer>getIdBasemapsList()Load the id of all the basemap objects and returns them as a liststatic voidremove(int nKey)Remove the basemap whose identifier is specified in parameterstatic Basemapupdate(Basemap basemap)Update of the basemap which is specified in parameter
-
-
-
Method Detail
-
create
public static Basemap create(Basemap basemap)
Create an instance of the basemap class- Parameters:
basemap- The instance of the Basemap which contains the informations to store- Returns:
- The instance of basemap which has been created with its primary key.
-
update
public static Basemap update(Basemap basemap)
Update of the basemap which is specified in parameter- Parameters:
basemap- The instance of the Basemap which contains the data to store- Returns:
- The instance of the basemap which has been updated
-
remove
public static void remove(int nKey)
Remove the basemap whose identifier is specified in parameter- Parameters:
nKey- The basemap Id
-
findByPrimaryKey
public static java.util.Optional<Basemap> findByPrimaryKey(int nKey)
Returns an instance of a basemap whose identifier is specified in parameter- Parameters:
nKey- The basemap primary key- Returns:
- an instance of Basemap
-
getBasemapsList
public static java.util.List<Basemap> getBasemapsList()
Load the data of all the basemap objects and returns them as a list- Returns:
- the list which contains the data of all the basemap objects
-
getIdBasemapsList
public static java.util.List<java.lang.Integer> getIdBasemapsList()
Load the id of all the basemap objects and returns them as a list- Returns:
- the list which contains the id of all the basemap objects
-
getBasemapsReferenceList
public static fr.paris.lutece.util.ReferenceList getBasemapsReferenceList()
Load the data of all the basemap objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the basemap objects
-
getBasemapsListByIds
public static java.util.List<Basemap> getBasemapsListByIds(java.util.List<java.lang.Integer> listIds)
Load the data of all the avant objects and returns them as a list- Parameters:
listIds- liste of ids- Returns:
- the list which contains the data of all the avant objects
-
-