Class GeometryTypeHome

java.lang.Object
fr.paris.lutece.plugins.carto.business.GeometryTypeHome

public final class GeometryTypeHome extends Object
This class provides instances management methods (create, find, ...) for GeometryType objects
  • Method Details

    • 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 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 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 List<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 List<GeometryType> getGeometryTypesListByIds(List<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