Interface IOptionsDAO

  • All Known Implementing Classes:
    OptionsDAO

    public interface IOptionsDAO
    IOptionsDAO 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​(Options options, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Options load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Options loadOptionByFieldName​(java.lang.String fieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Collection<java.lang.Integer> selectIdOptionssList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the options objects and returns them as a collection
      java.util.Collection<Options> selectOptionssList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the options objects and returns them as a collection
      void store​(Options options, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

        Options load​(int nKey,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the options
        plugin - the Plugin
        Returns:
        The instance of the options
      • loadOptionByFieldName

        Options loadOptionByFieldName​(java.lang.String fieldName,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        fieldName - The identifier of the options
        plugin - the Plugin
        Returns:
        The instance of the options
      • selectOptionssList

        java.util.Collection<Options> selectOptionssList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the options objects and returns them as a collection
        Parameters:
        plugin - the Plugin
        Returns:
        The collection which contains the data of all the options objects
      • selectIdOptionssList

        java.util.Collection<java.lang.Integer> selectIdOptionssList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the options objects and returns them as a collection
        Parameters:
        plugin - the Plugin
        Returns:
        The collection which contains the id of all the options objects