Interface IPanelDAO

  • All Known Implementing Classes:
    PanelDAO

    public interface IPanelDAO
    IPanelDAO 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​(Panel panel, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Panel load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Panel loadByCode​(java.lang.String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Panel loadDefaultPanel​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load default Panel
      java.util.List<java.lang.Integer> selectIdPanelsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the panel objects and returns them as a list
      java.util.List<Panel> selectPanelsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the panel objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectPanelsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the panel objects and returns them as a referenceList
      void store​(Panel panel, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

        Panel loadByCode​(java.lang.String strCode,
                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the panel
        plugin - the Plugin
        Returns:
        The instance of the panel
      • selectPanelsList

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

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

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

        Panel loadDefaultPanel​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load default Panel
        Parameters:
        plugin - the Plugin
        Returns:
        The instance of the panel