Class DataLayerMapTemplateDAO

    • Method Summary

      All Methods Instance Methods Concrete 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​(DataLayerMapTemplate dataLayerMapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<DataLayerMapTemplate> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<DataLayerMapTemplate> loadByDataLayerId​(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey)
      Load the data from id data layer
      java.util.Optional<DataLayerMapTemplate> loadByIdMapIdLayer​(int nMapKey, int nDataLayerKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<DataLayer> selectDataLayerListByMapTemplateId​(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey)
      Load all the DataLayer attached to the MapTemplate id
      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
      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
      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
      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
      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
      void store​(DataLayerMapTemplate dataLayerMapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataLayerMapTemplateDAO

        public DataLayerMapTemplateDAO()
    • Method Detail

      • insert

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

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

        public void delete​(int nKey,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        delete in interface IDataLayerMapTemplateDAO
        Parameters:
        nKey - The identifier of the DataLayerMapTemplate to delete
        plugin - the Plugin
      • store

        public void store​(DataLayerMapTemplate dataLayerMapTemplate,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IDataLayerMapTemplateDAO
        Parameters:
        dataLayerMapTemplate - the reference of the DataLayerMapTemplate
        plugin - the Plugin
      • selectDataLayerMapTemplatesList

        public 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
        Specified by:
        selectDataLayerMapTemplatesList in interface IDataLayerMapTemplateDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the dataLayerMapTemplate objects
      • selectIdDataLayerMapTemplatesList

        public 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
        Specified by:
        selectIdDataLayerMapTemplatesList in interface IDataLayerMapTemplateDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the dataLayerMapTemplate objects
      • selectDataLayerMapTemplatesReferenceList

        public 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
        Specified by:
        selectDataLayerMapTemplatesReferenceList in interface IDataLayerMapTemplateDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the dataLayerMapTemplate objects
      • selectDataLayerMapTemplatesListByIds

        public 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
        Specified by:
        selectDataLayerMapTemplatesListByIds in interface IDataLayerMapTemplateDAO
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects
      • selectDataLayerListByMapTemplateId

        public java.util.List<DataLayer> selectDataLayerListByMapTemplateId​(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
                                                                            int nKey)
        Load all the DataLayer attached to the MapTemplate id
        Specified by:
        selectDataLayerListByMapTemplateId in interface IDataLayerMapTemplateDAO
        Returns:
        The list of DataLayer
      • selectDataLayerListByMapTemplateIdAndSearchable

        public 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
        Specified by:
        selectDataLayerListByMapTemplateIdAndSearchable in interface IDataLayerMapTemplateDAO
        isSearchableByOther - : is the map viewable by others
        Returns:
        The list of DataLayer
      • loadByIdMapIdLayer

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

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