Interface IDataLayerDAO

  • All Known Implementing Classes:
    DataLayerDAO

    public interface IDataLayerDAO
    IDataLayerDAO 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​(DataLayer dataLayer, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<DataLayer> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<DataLayer> loadBySolrTag​(java.lang.String strSolrTag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<DataLayer> loadDataLayerWithOptions​(int nKey, boolean editable, boolean inclusion, boolean exclusion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<DataLayer> selectDataLayersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the dataLayer objects and returns them as a list
      java.util.List<DataLayer> selectDataLayersListByIds​(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
      java.util.List<DataLayer> selectDataLayersListWFS​(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nIdMapTemplate)
      Load the data of all the dataLayer objects with WFS source and returns them as a list
      fr.paris.lutece.util.ReferenceList selectDataLayersReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the dataLayer objects and returns them as a referenceList
      java.util.List<java.lang.Integer> selectIdDataLayersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the dataLayer objects and returns them as a list
      void store​(DataLayer dataLayer, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

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

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

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

        java.util.List<DataLayer> selectDataLayersListByIds​(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
      • loadDataLayerWithOptions

        java.util.Optional<DataLayer> loadDataLayerWithOptions​(int nKey,
                                                               boolean editable,
                                                               boolean inclusion,
                                                               boolean exclusion,
                                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the map
        editable - dataLayer editable
        inclusion - dataLayer inclusion
        exclusion - dataLayer exclusion
        plugin - the Plugin
        Returns:
        The instance of the dataLayer
      • loadBySolrTag

        java.util.Optional<DataLayer> loadBySolrTag​(java.lang.String strSolrTag,
                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        strSolrTag - The identifier of the solrtag
        plugin - the Plugin
        Returns:
        The instance of the dataLayer
      • selectDataLayersListWFS

        java.util.List<DataLayer> selectDataLayersListWFS​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                          int nIdMapTemplate)
        Load the data of all the dataLayer objects with WFS source and returns them as a list
        Parameters:
        plugin - the Plugin
        nIdMapTemplate - the id of the map template
        Returns:
        The list which contains the data of all the dataLayer objects