Class GeometryTypeHome
java.lang.Object
fr.paris.lutece.plugins.carto.business.GeometryTypeHome
This class provides instances management methods (create, find, ...) for GeometryType objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic GeometryTypecreate(GeometryType geometryType) Create an instance of the geometryType classstatic Optional<GeometryType>findByPrimaryKey(int nKey) Returns an instance of a geometryType whose identifier is specified in parameterstatic List<GeometryType>Load the data of all the geometryType objects and returns them as a liststatic List<GeometryType>getGeometryTypesListByIds(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 geometryType objects and returns them as a referenceListLoad the id of all the geometryType objects and returns them as a liststatic voidremove(int nKey) Remove the geometryType whose identifier is specified in parameterstatic GeometryTypeupdate(GeometryType geometryType) Update of the geometryType which is specified in parameter
-
Method Details
-
create
Create an instance of the geometryType class- Parameters:
geometryType- The instance of the GeometryType which contains the informations to store- Returns:
- The instance of geometryType which has been created with its primary key.
-
update
Update of the geometryType which is specified in parameter- Parameters:
geometryType- The instance of the GeometryType which contains the data to store- Returns:
- The instance of the geometryType which has been updated
-
remove
public static void remove(int nKey) Remove the geometryType whose identifier is specified in parameter- Parameters:
nKey- The geometryType Id
-
findByPrimaryKey
Returns an instance of a geometryType whose identifier is specified in parameter- Parameters:
nKey- The geometryType primary key- Returns:
- an instance of GeometryType
-
getGeometryTypesList
Load the data of all the geometryType objects and returns them as a list- Returns:
- the list which contains the data of all the geometryType objects
-
getIdGeometryTypesList
Load the id of all the geometryType objects and returns them as a list- Returns:
- the list which contains the id of all the geometryType objects
-
getGeometryTypesReferenceList
public static fr.paris.lutece.util.ReferenceList getGeometryTypesReferenceList()Load the data of all the geometryType objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the geometryType objects
-
getGeometryTypesListByIds
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
-