Class BasemapDAO
java.lang.Object
fr.paris.lutece.plugins.carto.business.BasemapDAO
- All Implemented Interfaces:
IBasemapDAO
This class provides Data Access methods for Basemap objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidInsert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectBasemapsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the basemap objects and returns them as a listselectBasemapsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectBasemapsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the basemap objects and returns them as a referenceListselectIdBasemapsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the basemap objects and returns them as a listvoidUpdate the record in the table
-
Constructor Details
-
BasemapDAO
public BasemapDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIBasemapDAO- Parameters:
basemap- instance of the Basemap object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIBasemapDAO- Parameters:
nKey- The identifier of the basemapplugin- the Plugin- Returns:
- The instance of the basemap
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIBasemapDAO- Parameters:
nKey- The identifier of the Basemap to deleteplugin- the Plugin
-
store
Update the record in the table- Specified by:
storein interfaceIBasemapDAO- Parameters:
basemap- the reference of the Basemapplugin- the Plugin
-
selectBasemapsList
Load the data of all the basemap objects and returns them as a list- Specified by:
selectBasemapsListin interfaceIBasemapDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the basemap objects
-
selectIdBasemapsList
Load the id of all the basemap objects and returns them as a list- Specified by:
selectIdBasemapsListin interfaceIBasemapDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the basemap objects
-
selectBasemapsReferenceList
public fr.paris.lutece.util.ReferenceList selectBasemapsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the basemap objects and returns them as a referenceList- Specified by:
selectBasemapsReferenceListin interfaceIBasemapDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the basemap objects
-
selectBasemapsListByIds
public List<Basemap> selectBasemapsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a list- Specified by:
selectBasemapsListByIdsin interfaceIBasemapDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-