Class FileStorageTransferRequestDAO

    • Method Summary

      All Methods Instance Methods Concrete 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
      • Methods inherited from class java.lang.Object

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

      • FileStorageTransferRequestDAO

        public FileStorageTransferRequestDAO()
    • Method Detail

      • load

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

        public void delete​(int nKey,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        delete in interface IFileStorageTransferRequestDAO
        Parameters:
        nKey - The identifier of the Request to delete
        plugin - the Plugin
      • selectRequestsList

        public 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
        Specified by:
        selectRequestsList in interface IFileStorageTransferRequestDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the request objects
      • selectIdRequestsList

        public 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
        Specified by:
        selectIdRequestsList in interface IFileStorageTransferRequestDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the request objects
      • selectRequestsReferenceList

        public 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
        Specified by:
        selectRequestsReferenceList in interface IFileStorageTransferRequestDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the request objects
      • selectRequestsListByIds

        public 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
        Specified by:
        selectRequestsListByIds in interface IFileStorageTransferRequestDAO
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects
      • selectIdRequestsListByStatus

        public 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
        Specified by:
        selectIdRequestsListByStatus in interface IFileStorageTransferRequestDAO
        Returns:
        The list which contains the id of all the request objects
      • selectRequestsListByStatus

        public 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
        Specified by:
        selectRequestsListByStatus in interface IFileStorageTransferRequestDAO
        Parameters:
        plugin - the Plugin
        RequestStatus - Status of the request
        Returns:
        The list which contains the data of all the avant objects
      • selectRequestsListToExecute

        public 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
        Specified by:
        selectRequestsListToExecute in interface IFileStorageTransferRequestDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the avant objects