Interface IFileStorageTransferErrorDAO

    • 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​(FileStorageTransferError error, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<FileStorageTransferError> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<FileStorageTransferError> selectErrorsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the error objects and returns them as a list
      java.util.List<FileStorageTransferError> selectErrorsListByIds​(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<FileStorageTransferError> selectErrorsListByRequestId​(fr.paris.lutece.portal.service.plugin.Plugin plugin, int RequestId)
      Load the data of all the error objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectErrorsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the error objects and returns them as a referenceList
      java.util.List<java.lang.Integer> selectIdErrorsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the error objects and returns them as a list
      void store​(FileStorageTransferError error, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

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

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

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

        java.util.List<FileStorageTransferError> selectErrorsListByIds​(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
      • selectErrorsListByRequestId

        java.util.List<FileStorageTransferError> selectErrorsListByRequestId​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                             int RequestId)
        Load the data of all the error objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the error objects