Interface IFileStorageTransferRequestDAO

    • 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​(FileStorageTransferRequest request, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<FileStorageTransferRequest> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<java.lang.Integer> selectIdRequestsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the request objects and returns them as a list
      java.util.List<java.lang.Integer> selectIdRequestsListByStatus​(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.lang.String RequestStatus)
      Load the id of all the request objects with a specific status and returns them as a list
      java.util.List<FileStorageTransferRequest> selectRequestsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the request objects and returns them as a list
      java.util.List<FileStorageTransferRequest> selectRequestsListByIds​(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.util.List<java.lang.Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      java.util.List<FileStorageTransferRequest> selectRequestsListByStatus​(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.lang.String RequestStatus)
      Load the data of all the avant objects and returns them as a list
      java.util.List<FileStorageTransferRequest> selectRequestsListToExecute​(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.sql.Timestamp executionTime, int limit)
      Load the data of all the avant objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectRequestsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the request objects and returns them as a referenceList
      void store​(FileStorageTransferRequest request, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

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

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

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

        java.util.List<FileStorageTransferRequest> selectRequestsListByIds​(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
                                                                           java.util.List<java.lang.Integer> listIds)
        Load the data of all the avant objects and returns them as a list
        Parameters:
        plugin - the Plugin
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects
      • selectRequestsListByStatus

        java.util.List<FileStorageTransferRequest> selectRequestsListByStatus​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                              java.lang.String RequestStatus)
        Load the data of all the avant objects and returns them as a list
        Parameters:
        plugin - the Plugin
        RequestStatus - Status of the request
        Returns:
        The list which contains the data of all the avant objects
      • selectRequestsListToExecute

        java.util.List<FileStorageTransferRequest> selectRequestsListToExecute​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                               java.sql.Timestamp executionTime,
                                                                               int limit)
        Load the data of all the avant objects and returns them as a list
        Parameters:
        plugin - the Plugin
        RequestStatus - Status of the request
        Returns:
        The list which contains the data of all the avant objects
      • selectIdRequestsListByStatus

        java.util.List<java.lang.Integer> selectIdRequestsListByStatus​(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
                                                                       java.lang.String RequestStatus)
        Load the id of all the request objects with a specific status and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the request objects