Interface IDataLayerMapTemplateDAO

  • All Known Implementing Classes:
    DataLayerMapTemplateDAO

    public interface IDataLayerMapTemplateDAO
    IDataLayerMapTemplateDAO Interface
    • Method Detail

      • insert

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

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

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

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

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

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

        java.util.List<DataLayerMapTemplate> selectDataLayerMapTemplatesListByIds​(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
      • selectDataLayerListByMapTemplateId

        java.util.List<DataLayer> selectDataLayerListByMapTemplateId​(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
                                                                     int nKey)
        Load all the DataLayer attached to the MapTemplate id
        Parameters:
        plugin - the Plugin
        nkey - : id of the mapTemplate
        Returns:
        The list of DataLayer
      • loadByIdMapIdLayer

        java.util.Optional<DataLayerMapTemplate> loadByIdMapIdLayer​(int nMapKey,
                                                                    int nDataLayerKey,
                                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nMapKey - The identifier of the MapTemplate
        nDataLayerKey - The identifier of the dataLayer
        plugin - the Plugin
        Returns:
        The instance of the dataLayerMapTemplate
      • loadByDataLayerId

        java.util.Optional<DataLayerMapTemplate> loadByDataLayerId​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                   int nKey)
        Load the data from id data layer
        Parameters:
        nKey - The od of the datalayer
        plugin - the Plugin
        Returns:
        The instance of the dataLayerMapTemplate
      • selectDataLayerListByMapTemplateIdAndSearchable

        java.util.List<DataLayer> selectDataLayerListByMapTemplateIdAndSearchable​(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
                                                                                  int nKey,
                                                                                  boolean isSearchableByOther)
        Load all the DataLayer attached to the MapTemplate id
        Parameters:
        plugin - the Plugin
        nkey - : id of the mapTemplate
        isSearchableByOther - : is the map viewable by others
        Returns:
        The list of DataLayer