Class ArchiveFileDAO

    • Constructor Detail

      • ArchiveFileDAO

        public ArchiveFileDAO()
        Default constructor.
    • Method Detail

      • exists

        public boolean exists​(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 List<ArchiveFile> getFilesAwaitingIndexing()
        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.