Class BasemapHome
java.lang.Object
fr.paris.lutece.plugins.carto.business.BasemapHome
This class provides instances management methods (create, find, ...) for Basemap objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic BasemapCreate an instance of the basemap classfindByPrimaryKey(int nKey) Returns an instance of a basemap whose identifier is specified in parameterLoad the data of all the basemap objects and returns them as a listgetBasemapsListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the basemap objects and returns them as a referenceListLoad 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 of the basemap which is specified in parameter
-
Method Details
-
create
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
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
Returns an instance of a basemap whose identifier is specified in parameter- Parameters:
nKey- The basemap primary key- Returns:
- an instance of 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
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
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
-