Interface IDisplayDAO

  • All Known Implementing Classes:
    DisplayDAO

    public interface IDisplayDAO
    Display DAO Interface
    Author:
    Laurent Payen
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void deleteByIdForm​(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Display findByIdForm​(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns the display of the given form
      void insert​(Display display, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Display select​(int nIdDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      void update​(Display display, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

        void update​(Display display,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        display - the reference of the Display
        plugin - the Plugin
      • delete

        void delete​(int nIdDisplay,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdDisplay - identifier of the Display to delete
        plugin - the Plugin
      • deleteByIdForm

        void deleteByIdForm​(int nIdForm,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdForm - identifier of the form
        plugin - the Plugin
      • select

        Display select​(int nIdDisplay,
                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nIdDisplay - The identifier of the Display
        plugin - the Plugin
        Returns:
        The instance of the Display
      • findByIdForm

        Display findByIdForm​(int nIdForm,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Returns the display of the given form
        Parameters:
        nIdForm - the form id
        plugin - the plugin
        Returns:
        the form display