java.lang.Object
fr.paris.lutece.plugins.workflow.modules.upload.business.history.UploadHistoryDAO
All Implemented Interfaces:
IUploadHistoryDAO

@ApplicationScoped public class UploadHistoryDAO extends Object implements IUploadHistoryDAO
The Class UploadHistoryDAO.
  • Field Summary

    Fields inherited from interface fr.paris.lutece.plugins.workflow.modules.upload.business.history.IUploadHistoryDAO

    BEAN_SERVICE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete by history.
    void
    deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete by task.
    void
    insert(UploadHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert.
    load(int nIdHistory, int nIdTask, 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

    • UploadHistoryDAO

      public UploadHistoryDAO()
  • Method Details

    • insert

      public void insert(UploadHistory history, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert.
      Specified by:
      insert in interface IUploadHistoryDAO
      Parameters:
      history - the history
      plugin - the plugin
    • load

      public UploadHistory load(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load.
      Specified by:
      load in interface IUploadHistoryDAO
      Parameters:
      nIdHistory - the n id history
      nIdTask - the n id task
      plugin - the plugin
      Returns:
      the upload history
    • deleteByHistory

      public void deleteByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete by history.
      Specified by:
      deleteByHistory in interface IUploadHistoryDAO
      Parameters:
      nIdHistory - the n id history
      nIdTask - the n id task
      plugin - the plugin
    • deleteByTask

      public void deleteByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete by task.
      Specified by:
      deleteByTask in interface IUploadHistoryDAO
      Parameters:
      nIdTask - the n id task
      plugin - the plugin