Class ArchiveFileDAO

    • Constructor Summary

      Constructors 
      Constructor Description
      ArchiveFileDAO()
      Default constructor.
    • Constructor Detail

    • Method Detail

      • exists

        public boolean exists​(java.lang.String filename)
        Returns true iff this file is found in the object store.
        Parameters:
        filename - the name of the file.
        Returns:
        whether or not the file is already known.
      • getFilesAwaitingIndexing

        public java.util.List<ArchiveFilegetFilesAwaitingIndexing()
        Returns a list of all files awaiting indexing, ie all files not yet indexed and which have not failed indexing more than the maximum number of allowed times. The list is ordered such that previously failed files are returned last.
        Returns:
        the list of files awaiting indexing.