Interface IGeometryTypeDAO

  • All Known Implementing Classes:
    GeometryTypeDAO

    public interface IGeometryTypeDAO
    IGeometryTypeDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • insert

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

        void store​(GeometryType geometryType,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        geometryType - the reference of the GeometryType
        plugin - the Plugin
      • delete

        void delete​(int nKey,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nKey - The identifier of the GeometryType to delete
        plugin - the Plugin
      • load

        java.util.Optional<GeometryType> load​(int nKey,
                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the geometryType
        plugin - the Plugin
        Returns:
        The instance of the geometryType
      • selectGeometryTypesList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the geometryType objects
      • selectIdGeometryTypesList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the geometryType objects
      • selectGeometryTypesReferenceList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the geometryType objects
      • selectGeometryTypesListByIds

        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
        Parameters:
        plugin - the Plugin
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects