Class FileUploadDao


public class FileUploadDao extends AbstractDao
Provides a DAO for the FileUpload entity.
See Also:
  • Constructor Details

    • FileUploadDao

      public FileUploadDao()
  • Method Details

    • getFileUpload

      public FileUpload getFileUpload(Object id)
      Return the file upload with the specified OID
      Parameters:
      id - the OID
      Returns:
      the matching file upload, or null if not found
    • getFileUploadsForSubmission

      public List<FileUpload> getFileUploadsForSubmission(Submission submission)
      Return the list of file uploads for a submission
      Parameters:
      submission - the non-null submission object
      Returns:
      the list of file uploads, or null if the submission has been marked as deleted
    • getFileUploadsForVirusScan

      public List<FileUpload> getFileUploadsForVirusScan()
      Return the list of file uploads that need to be virus scanned
      Returns:
      the list of file uploads