Class GeometryTypeHome
- java.lang.Object
-
- fr.paris.lutece.plugins.carto.business.GeometryTypeHome
-
public final class GeometryTypeHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for GeometryType objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryTypecreate(GeometryType geometryType)Create an instance of the geometryType classstatic java.util.Optional<GeometryType>findByPrimaryKey(int nKey)Returns an instance of a geometryType whose identifier is specified in parameterstatic java.util.List<GeometryType>getGeometryTypesList()Load the data of all the geometryType objects and returns them as a liststatic java.util.List<GeometryType>getGeometryTypesListByIds(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.ReferenceListgetGeometryTypesReferenceList()Load the data of all the geometryType objects and returns them as a referenceListstatic java.util.List<java.lang.Integer>getIdGeometryTypesList()Load 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 Detail
-
create
public static GeometryType create(GeometryType geometryType)
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
public static GeometryType update(GeometryType geometryType)
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
public static java.util.Optional<GeometryType> findByPrimaryKey(int nKey)
Returns an instance of a geometryType whose identifier is specified in parameter- Parameters:
nKey- The geometryType primary key- Returns:
- an instance of GeometryType
-
getGeometryTypesList
public static java.util.List<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
public static java.util.List<java.lang.Integer> 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
public static java.util.List<GeometryType> getGeometryTypesListByIds(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
-
-