Class ExtendFeedbackDAO

  • All Implemented Interfaces:
    IExtendFeedbackDAO

    public final class ExtendFeedbackDAO
    extends java.lang.Object
    implements IExtendFeedbackDAO
    This class provides Data Access methods for ExtendFeedback objects
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nExtendFeedbackId, 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 nId, 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtendFeedbackDAO

        public ExtendFeedbackDAO()
    • Method Detail

      • insert

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

        public java.util.Optional<ExtendFeedback> load​(int nId,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IExtendFeedbackDAO
        plugin - the Plugin
        Returns:
        The instance of the extendFeedback
      • delete

        public void delete​(int nExtendFeedbackId,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        delete in interface IExtendFeedbackDAO
        Parameters:
        nExtendFeedbackId - int identifier of the ExtendFeedback to delete
        plugin - the Plugin
      • store

        public void store​(ExtendFeedback extendFeedback,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IExtendFeedbackDAO
        Parameters:
        extendFeedback - the reference of the ExtendFeedback
        plugin - the Plugin
      • selectExtendFeedbacksList

        public 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
        Specified by:
        selectExtendFeedbacksList in interface IExtendFeedbackDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The List which contains the data of all the extendFeedback objects
      • findAllByIdAndTypeResource

        public 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
        Specified by:
        findAllByIdAndTypeResource in interface IExtendFeedbackDAO
        Parameters:
        nIdResource - The identifier of resource
        strResourceType - The type of resource
        plugin - the Plugin
        Returns:
        The instance of the extendFeedback
      • findByIdHistory

        public java.util.Optional<ExtendFeedback> findByIdHistory​(int nIdHistory,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IExtendFeedbackDAO
        Load the data from the table
        Specified by:
        findByIdHistory in interface IExtendFeedbackDAO
        plugin - the Plugin
        Returns:
        The instance of the extendFeedback
      • selectExtendFeedbacksList

        public 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)
        Description copied from interface: IExtendFeedbackDAO
        Load the data of all the extendFeedback objects and returns them as a List
        Specified by:
        selectExtendFeedbacksList in interface IExtendFeedbackDAO
        plugin - the Plugin
        Returns:
        The List which contains the data of all the extendFeedback objects