java.lang.Object
fr.paris.lutece.plugins.workflow.modules.upload.business.file.UploadFileDAO
All Implemented Interfaces:
IUploadFileDAO

public class UploadFileDAO extends Object implements IUploadFileDAO
The Class UploadFileDAO.
  • Field Summary

    Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.upload.business.file.IUploadFileDAO

    BEAN_SERVICE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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.
    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.
    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 Details

    • UploadFileDAO

      public UploadFileDAO()
  • Method Details

    • 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 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