Class UploadFileDAO

  • All Implemented Interfaces:
    IUploadFileDAO

    public class UploadFileDAO
    extends java.lang.Object
    implements IUploadFileDAO
    The Class UploadFileDAO.
    • Constructor Summary

      Constructors 
      Constructor Description
      UploadFileDAO()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteByHistory​(int nIdHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete by history.
      void deleteByid​(int nIdFileUpload, 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.
      • Methods inherited from class java.lang.Object

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

      • UploadFileDAO

        public UploadFileDAO()
    • Method Detail

      • insert

        public void insert​(UploadFile upload,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert.
        Specified by:
        insert in interface IUploadFileDAO
        Parameters:
        upload - the upload
        plugin - the plugin
      • load

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

        public void deleteByHistory​(int nIdHistory,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete by history.
        Specified by:
        deleteByHistory in interface IUploadFileDAO
        Parameters:
        nIdHistory - the n id upload
        plugin - the plugin
      • deleteByid

        public void deleteByid​(int nIdFileUpload,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete by file.
        Specified by:
        deleteByid in interface IUploadFileDAO
        Parameters:
        nIdFileUpload - the n id file
        plugin - the plugin
      • findbyprimaryKey

        public UploadFile findbyprimaryKey​(int nIdFileUpload,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IUploadFileDAO
        Findbyprimary key.
        Specified by:
        findbyprimaryKey in interface IUploadFileDAO
        Parameters:
        nIdFileUpload - the n id file upload
        plugin - the plugin
        Returns:
        the upload file