Interface IExtendFeedbackDAO

  • All Known Implementing Classes:
    ExtendFeedbackDAO

    public interface IExtendFeedbackDAO
    IExtendFeedbackDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nIdExtendFeedback, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      java.util.List<ExtendFeedback> findAllByIdAndTypeResource​(int nIdResource, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<ExtendFeedback> findByIdHistory​(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      void insert​(ExtendFeedback extendFeedback, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<ExtendFeedback> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<ExtendFeedback> selectExtendFeedbacksList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the extendFeedback objects and returns them as a List
      java.util.List<ExtendFeedback> selectExtendFeedbacksList​(java.lang.String strStatus, java.lang.String strSorting, java.lang.String strFeedbackType, java.lang.String extendableResourceTypeFilter, fr.paris.lutece.plugins.extend.business.extender.ResourceExtenderDTO resourceExtenderDTO, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the extendFeedback objects and returns them as a List
      void store​(ExtendFeedback extendFeedback, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

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

        java.util.List<ExtendFeedback> findAllByIdAndTypeResource​(int nIdResource,
                                                                  java.lang.String strResourceType,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nIdResource - The identifier of resource
        strResourceType - The type of resource
        plugin - the Plugin
        Returns:
        The instance of the extendFeedback
      • findByIdHistory

        java.util.Optional<ExtendFeedback> findByIdHistory​(int nIdHistory,
                                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nIdHistory -
        plugin - the Plugin
        Returns:
        The instance of the extendFeedback
      • selectExtendFeedbacksList

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

        java.util.List<ExtendFeedback> selectExtendFeedbacksList​(java.lang.String strStatus,
                                                                 java.lang.String strSorting,
                                                                 java.lang.String strFeedbackType,
                                                                 java.lang.String extendableResourceTypeFilter,
                                                                 fr.paris.lutece.plugins.extend.business.extender.ResourceExtenderDTO resourceExtenderDTO,
                                                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the extendFeedback objects and returns them as a List
        Parameters:
        plugin - the Plugin
        Returns:
        The List which contains the data of all the extendFeedback objects