Interface ITemporaryCodeConfigDAO

  • All Known Implementing Classes:
    TemporaryCodeConfigDAO

    public interface ITemporaryCodeConfigDAO
    ITemporaryCodeConfigDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clearDefaultFlag​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Clear default flag
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(TemporaryCodeConfig temporaryCodeConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<TemporaryCodeConfig> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<TemporaryCodeConfig> loadDefaultConfig​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load a dafult temporary code config
      java.util.List<java.lang.Integer> selectIdTemporaryCodeConfigsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the temporaryCodeConfig objects and returns them as a list
      java.util.List<TemporaryCodeConfig> selectTemporaryCodeConfigsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the temporaryCodeConfig objects and returns them as a list
      java.util.List<TemporaryCodeConfig> selectTemporaryCodeConfigsListByIds​(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 selectTemporaryCodeConfigsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the temporaryCodeConfig objects and returns them as a referenceList
      void store​(TemporaryCodeConfig temporaryCodeConfig, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

        void clearDefaultFlag​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Clear default flag
        Parameters:
        plugin -
      • load

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

        java.util.Optional<TemporaryCodeConfig> loadDefaultConfig​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load a dafult temporary code config
        Parameters:
        plugin -
        Returns:
        The instance of the default temporary code config
      • selectTemporaryCodeConfigsList

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

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

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

        java.util.List<TemporaryCodeConfig> selectTemporaryCodeConfigsListByIds​(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