Interface IUploadFileDAO

  • All Known Implementing Classes:
    UploadFileDAO

    public interface IUploadFileDAO
    The Interface IUploadFileDAO.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE
      The Constant BEAN_SERVICE.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteByHistory​(int nIdUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete by history.
      void deleteByid​(int nIdUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete by file.
      UploadFile findbyprimaryKey​(int nIdFileUpload, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Findbyprimary key.
      void insert​(UploadFile upload, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert.
      java.util.List<UploadFile> load​(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load.
    • Field Detail

      • BEAN_SERVICE

        static final java.lang.String BEAN_SERVICE
        The Constant BEAN_SERVICE.
        See Also:
        Constant Field Values
    • Method Detail

      • insert

        void insert​(UploadFile upload,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert.
        Parameters:
        upload - the upload
        plugin - the plugin
      • findbyprimaryKey

        UploadFile findbyprimaryKey​(int nIdFileUpload,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Findbyprimary key.
        Parameters:
        nIdFileUpload - the n id file upload
        plugin - the plugin
        Returns:
        the upload file
      • load

        java.util.List<UploadFile> load​(int nIdHistory,
                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load.
        Parameters:
        nIdHistory - the n id upload
        plugin - the plugin
        Returns:
        the list
      • deleteByHistory

        void deleteByHistory​(int nIdUpload,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete by history.
        Parameters:
        nIdUpload - the n id upload
        plugin - the plugin
      • deleteByid

        void deleteByid​(int nIdUpload,
                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete by file.
        Parameters:
        nIdUpload - the n id file
        plugin - the plugin