Interface IBasemapDAO

  • All Known Implementing Classes:
    BasemapDAO

    public interface IBasemapDAO
    IBasemapDAO 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​(Basemap basemap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<Basemap> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<Basemap> selectBasemapsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the basemap objects and returns them as a list
      java.util.List<Basemap> selectBasemapsListByIds​(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 selectBasemapsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the basemap objects and returns them as a referenceList
      java.util.List<java.lang.Integer> selectIdBasemapsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the basemap objects and returns them as a list
      void store​(Basemap basemap, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

        void store​(Basemap basemap,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        basemap - the reference of the Basemap
        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 Basemap to delete
        plugin - the Plugin
      • load

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

        java.util.List<Basemap> selectBasemapsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the basemap objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the basemap objects
      • selectIdBasemapsList

        java.util.List<java.lang.Integer> selectIdBasemapsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the basemap objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the basemap objects
      • selectBasemapsReferenceList

        fr.paris.lutece.util.ReferenceList selectBasemapsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the basemap objects and returns them as a referenceList
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the basemap objects
      • selectBasemapsListByIds

        java.util.List<Basemap> selectBasemapsListByIds​(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