Interface IExtendFeedbackDAO

  • All Known Implementing Classes:
    ExtendFeedbackDAO

    public interface IExtendFeedbackDAO
    IExtendFeedbackDAO Interface
    • 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

        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

        List<ExtendFeedback> findAllByIdAndTypeResource​(int nIdResource,
                                                        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

        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

        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

        List<ExtendFeedback> selectExtendFeedbacksList​(String strStatus,
                                                       String strSorting,
                                                       String strFeedbackType,
                                                       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