Class GeometryTypeDAO

  • All Implemented Interfaces:
    IGeometryTypeDAO

    public final class GeometryTypeDAO
    extends java.lang.Object
    implements IGeometryTypeDAO
    This class provides Data Access methods for GeometryType objects
    • Constructor Summary

      Constructors 
      Constructor Description
      GeometryTypeDAO()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(GeometryType geometryType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<GeometryType> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.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
      java.util.List<GeometryType> selectGeometryTypesListByIds​(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.List<java.lang.Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      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
      java.util.List<java.lang.Integer> selectIdGeometryTypesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the geometryType objects and returns them as a list
      void store​(GeometryType geometryType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeometryTypeDAO

        public GeometryTypeDAO()
    • Method Detail

      • insert

        public void insert​(GeometryType geometryType,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Specified by:
        insert in interface IGeometryTypeDAO
        Parameters:
        geometryType - instance of the GeometryType object to insert
        plugin - the Plugin
      • load

        public java.util.Optional<GeometryType> load​(int nKey,
                                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IGeometryTypeDAO
        Parameters:
        nKey - The identifier of the geometryType
        plugin - 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:
        delete in interface IGeometryTypeDAO
        Parameters:
        nKey - The identifier of the GeometryType to delete
        plugin - the Plugin
      • store

        public void store​(GeometryType geometryType,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IGeometryTypeDAO
        Parameters:
        geometryType - the reference of the GeometryType
        plugin - the Plugin
      • selectGeometryTypesList

        public java.util.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:
        selectGeometryTypesList in interface IGeometryTypeDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the geometryType objects
      • selectIdGeometryTypesList

        public java.util.List<java.lang.Integer> selectIdGeometryTypesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the geometryType objects and returns them as a list
        Specified by:
        selectIdGeometryTypesList in interface IGeometryTypeDAO
        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:
        selectGeometryTypesReferenceList in interface IGeometryTypeDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the geometryType objects
      • selectGeometryTypesListByIds

        public java.util.List<GeometryType> selectGeometryTypesListByIds​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                         java.util.List<java.lang.Integer> listIds)
        Load the data of all the avant objects and returns them as a list
        Specified by:
        selectGeometryTypesListByIds in interface IGeometryTypeDAO
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects