Interface IFeedbackTypeDAO

  • All Known Implementing Classes:
    FeedbackTypeDAO

    public interface IFeedbackTypeDAO
    IFeedbackTypeDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nIdFeedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Optional<FeedbackType> findByOrder​(int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      FeedbackType insert​(FeedbackType feedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Optional<FeedbackType> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      List<FeedbackType> selectFeedbackTypesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the feedbackType objects and returns them as a List
      void store​(FeedbackType feedbackType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

        Optional<FeedbackType> load​(int nKey,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        strId - The identifier of the feedbackType
        plugin - the Plugin
        Returns:
        The instance of the feedbackType
      • findByOrder

        Optional<FeedbackType> findByOrder​(int nOrder,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nOrder - The nOrder
        plugin - the Plugin
        Returns:
        The instance of the feedbackType
      • selectFeedbackTypesList

        List<FeedbackType> selectFeedbackTypesList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the feedbackType objects and returns them as a List
        Parameters:
        plugin - the Plugin
        Returns:
        The List which contains the data of all the feedbackType objects