Interface IMapTemplateDAO

  • All Known Implementing Classes:
    MapTemplateDAO

    public interface IMapTemplateDAO
    IMapTemplateDAO 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​(MapTemplate mapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<MapTemplate> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<MapTemplate> loadXpageFO​(fr.paris.lutece.portal.service.plugin.Plugin _plugin)
      Load the data from the table
      java.util.List<java.lang.Integer> selectIdMapTemplatesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the mapTemplate objects and returns them as a list
      java.util.List<MapTemplate> selectMapTemplatesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the mapTemplate objects and returns them as a list
      java.util.List<MapTemplate> selectMapTemplatesListByIds​(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 selectMapTemplatesReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the mapTemplate objects and returns them as a referenceList
      void store​(MapTemplate mapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

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

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

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

        java.util.List<MapTemplate> selectMapTemplatesListByIds​(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
      • loadXpageFO

        java.util.Optional<MapTemplate> loadXpageFO​(fr.paris.lutece.portal.service.plugin.Plugin _plugin)
        Load the data from the table
        Parameters:
        plugin - the Plugin
        Returns:
        The instance of the mapTemplate