Class GeometryTypeHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static GeometryType create​(GeometryType geometryType)
      Create an instance of the geometryType class
      static java.util.Optional<GeometryType> findByPrimaryKey​(int nKey)
      Returns an instance of a geometryType whose identifier is specified in parameter
      static java.util.List<GeometryType> getGeometryTypesList()
      Load the data of all the geometryType objects and returns them as a list
      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
      static fr.paris.lutece.util.ReferenceList getGeometryTypesReferenceList()
      Load the data of all the geometryType objects and returns them as a referenceList
      static java.util.List<java.lang.Integer> getIdGeometryTypesList()
      Load the id of all the geometryType objects and returns them as a list
      static void remove​(int nKey)
      Remove the geometryType whose identifier is specified in parameter
      static GeometryType update​(GeometryType geometryType)
      Update of the geometryType which is specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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