Class GeometryTypeDAO
java.lang.Object
fr.paris.lutece.plugins.carto.business.GeometryTypeDAO
- All Implemented Interfaces:
IGeometryTypeDAO
This class provides Data Access methods for GeometryType 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(GeometryType geometryType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectGeometryTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the geometryType objects and returns them as a listselectGeometryTypesListByIds(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.ReferenceListselectGeometryTypesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the geometryType objects and returns them as a referenceListselectIdGeometryTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the geometryType objects and returns them as a listvoidstore(GeometryType geometryType, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
GeometryTypeDAO
public GeometryTypeDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIGeometryTypeDAO- Parameters:
geometryType- instance of the GeometryType object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIGeometryTypeDAO- Parameters:
nKey- The identifier of the geometryTypeplugin- the Plugin- Returns:
- The instance of the geometryType
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIGeometryTypeDAO- Parameters:
nKey- The identifier of the GeometryType to deleteplugin- the Plugin
-
store
Update the record in the table- Specified by:
storein interfaceIGeometryTypeDAO- Parameters:
geometryType- the reference of the GeometryTypeplugin- the Plugin
-
selectGeometryTypesList
public List<GeometryType> selectGeometryTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the geometryType objects and returns them as a list- Specified by:
selectGeometryTypesListin interfaceIGeometryTypeDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the geometryType objects
-
selectIdGeometryTypesList
Load the id of all the geometryType objects and returns them as a list- Specified by:
selectIdGeometryTypesListin interfaceIGeometryTypeDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the geometryType objects
-
selectGeometryTypesReferenceList
public fr.paris.lutece.util.ReferenceList selectGeometryTypesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the geometryType objects and returns them as a referenceList- Specified by:
selectGeometryTypesReferenceListin interfaceIGeometryTypeDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the geometryType objects
-
selectGeometryTypesListByIds
public List<GeometryType> selectGeometryTypesListByIds(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:
selectGeometryTypesListByIdsin interfaceIGeometryTypeDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-