Interface ICoordonneeDAO

  • All Known Implementing Classes:
    CoordonneeDAO

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

      • insert

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

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

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

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

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

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

        java.util.List<Coordonnee> selectCoordonneesListByIds​(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