Interface IUploadHistoryService

All Known Implementing Classes:
UploadHistoryService

public interface IUploadHistoryService
The Interface IUploadHistoryService.
  • Field Summary

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

    Modifier and Type
    Method
    Description
    void
    create(int nIdResourceHistory, int nidTask, List<org.apache.commons.fileupload.FileItem> listFiles, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Creates the.
    findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Find by primary key.
    boolean
    isOwner(int nIdHistory, fr.paris.lutece.portal.business.user.AdminUser adminUser)
    Checks if is owner.
    void
    removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Removes the by history.
    void
    removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Removes the by task.
  • Field Details

  • Method Details

    • create

      @Transactional("workflow.transactionManager") void create(int nIdResourceHistory, int nidTask, List<org.apache.commons.fileupload.FileItem> listFiles, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Creates the.
      Parameters:
      nIdResourceHistory - the n id resource history
      nidTask - the nid task
      listFiles - the list files
      plugin - the plugin
    • removeByHistory

      @Transactional("workflow.transactionManager") void removeByHistory(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Removes the by history.
      Parameters:
      nIdHistory - the n id history
      nIdTask - the n id task
      plugin - the plugin
    • removeByTask

      @Transactional("workflow.transactionManager") void removeByTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Removes the by task.
      Parameters:
      nIdTask - the n id task
      plugin - the plugin
    • findByPrimaryKey

      UploadHistory findByPrimaryKey(int nIdHistory, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find by primary key.
      Parameters:
      nIdHistory - the n id history
      nIdTask - the n id task
      plugin - the plugin
      Returns:
      the upload history
    • isOwner

      boolean isOwner(int nIdHistory, fr.paris.lutece.portal.business.user.AdminUser adminUser)
      Checks if is owner.
      Parameters:
      nIdHistory - the n id history
      adminUser - the admin user
      Returns:
      true, if is owner