Uses of Class
dk.netarkivet.common.distribute.arcrepository.Location

Packages that use Location
dk.netarkivet.archive.arcrepository.bitpreservation   
dk.netarkivet.archive.arcrepository.distribute   
dk.netarkivet.archive.arcrepositoryadmin   
dk.netarkivet.archive.webinterface   
dk.netarkivet.common.distribute.arcrepository   
 

Uses of Location in dk.netarkivet.archive.arcrepository.bitpreservation
 

Methods in dk.netarkivet.archive.arcrepository.bitpreservation that return Location
 Location FilePreservationStatus.getReferenceBitarchive()
          Returns a reference to a bitarchive that contains a version of the file with the correct checksum.
 

Methods in dk.netarkivet.archive.arcrepository.bitpreservation that return types with arguments of type Location
protected  java.util.Map<Location,java.util.List<java.lang.String>> FilePreservationStatus.getChecksumMap()
          Generate a map of checksums for this file in the bitarchive.
 

Methods in dk.netarkivet.archive.arcrepository.bitpreservation with parameters of type Location
protected  boolean FilePreservationStatus.fileIsMissing(Location bitarchive)
          Check if the file is missing from a bitarchive
 void ActiveBitPreservation.findMissingFiles(Location institution)
          This method takes as input the name of a bitarchive institution for which we have previously run a runFileListJob.
 void ActiveBitPreservation.findWrongFiles(Location institution)
          This method finds out which files in a given bitarchive are misrepresented in the admin data: Either having the wrong checksum or not being marked as uploaded when it actually is.
 void ActiveBitPreservation.generateActionListForMissingFiles(Location institution, Location referenceLocation)
          This methods figures out what actions to take for missing files by comparing checksums for missing files with the reference bitarchive.
 java.lang.String FilePreservationStatus.getAdminBitarchiveState(Location bitarchive)
          Get the status of the file in a bitarchive, according to the admin data.
 BitArchiveStoreState FilePreservationStatus.getAdminBitarchiveStoreState(Location bitarchive)
          Get the status of the file in a bitarchive, according to the admin data.
 java.util.List<java.lang.String> FilePreservationStatus.getBitarchiveChecksum(Location bitarchive)
          Get the checksum of this file in a specific bitarchive.
protected  java.util.List<java.lang.String> FilePreservationStatus.getChecksums(Location ba)
          Get the checksum of a single file in a bitarchive.
static java.io.File WorkFiles.getFile(Location loc, WorkFiles fileType)
           
static java.util.Date WorkFiles.getLastUpdate(Location loc, WorkFiles fileType)
           
static long WorkFiles.getLineCount(Location loc, WorkFiles fileType)
           
static java.util.List<java.lang.String> WorkFiles.getLines(Location institution, WorkFiles fileType)
           
(package private) static java.io.File WorkFiles.getPreservationDir(Location institution)
          Get the base dir for all files related to bitpreservation for a given bitarchive
 boolean ActiveBitPreservation.reestablishMissingFile(java.lang.String fileName, Location damagedBitarchive, java.lang.StringBuilder result, java.util.Locale l)
          Reestablish a file missing in a bitarchive.
 void ActiveBitPreservation.removeAndGetFile(java.lang.String filename, Location bitarchive, java.lang.String checksum, java.lang.String credentials)
          Call upon the arc repository to remove a file, returning it to this machine.
static void WorkFiles.removeLine(Location loc, WorkFiles fileType, java.lang.String line)
           
 void ActiveBitPreservation.runChecksumJob(Location institution)
          Runs a checksum job on the bit archive at the given institution.
 void ActiveBitPreservation.runChecksumJob(Location institution, java.util.List<java.lang.String> specifiedFiles)
          Runs a checksum job on the bit archive at the given institution.
 void ActiveBitPreservation.runFileListJob(Location institution)
          Method to get a list of all files in a given bitarchive.
 void ActiveBitPreservation.runFileListJob(Location institution, Location referencedBy, java.util.List<java.lang.String> specifiedFiles)
          Method to get a list of all files in a given bitarchive and store list in the given directory.
 void ActiveBitPreservation.setAdminData(java.lang.String filename, Location ba, BitArchiveStoreState state)
          Calls upon the arc repository to change the known state for the given file in one bitarchive.
static void WorkFiles.write(Location institution, WorkFiles missingFilesBa, java.util.Set<java.lang.String> files)
           
 

Uses of Location in dk.netarkivet.archive.arcrepository.distribute
 

Methods in dk.netarkivet.archive.arcrepository.distribute with parameters of type Location
 void JMSArcRepositoryClient.getFile(java.lang.String arcfilename, Location location, java.io.File toFile)
          Synchronously retrieves a file from a bitarchive and places it in a local file.
 

Uses of Location in dk.netarkivet.archive.arcrepositoryadmin
 

Methods in dk.netarkivet.archive.arcrepositoryadmin with parameters of type Location
 java.util.Set<java.lang.String> AdminData.getAllFileNames(Location location, BitArchiveStoreState state)
          Returns a set of the names arcfile names that are in a given state for a specific bitarchive in the repository.
 

Uses of Location in dk.netarkivet.archive.webinterface
 

Methods in dk.netarkivet.archive.webinterface with parameters of type Location
static long BitpreserveFileStatus.getBACountFiles(Location bitarchive)
          Return the number of files found in the bitarchive.
static long BitpreserveFileStatus.getBACountMissingFiles(Location bitarchive)
          Get the number of missing files in a given bitarchive.
static long BitpreserveFileStatus.getCountWrongFiles(Location bitarchive)
          Get the number of wrong files for a bitarchive.
static java.util.List<java.lang.String> BitpreserveFileStatus.getMissingFilesList(Location bitarchive, javax.servlet.jsp.PageContext context)
          Get a list of missing files in a given bitarchive.
static java.util.List<java.lang.String> BitpreserveFileStatus.getWrongFilesList(Location bitarchive, javax.servlet.jsp.PageContext context)
          Get a list of wrong files in a given bitarchive.
static void BitpreserveFileStatus.removeFileFromMissingFilesList(Location bitarchive, java.lang.String fileName)
          Remove given filename from list of files missing on a given bitarchive.
 

Uses of Location in dk.netarkivet.common.distribute.arcrepository
 

Methods in dk.netarkivet.common.distribute.arcrepository that return Location
static Location Location.get(java.lang.String name)
          Get an object representing the institution with the given name.
 

Methods in dk.netarkivet.common.distribute.arcrepository that return types with arguments of type Location
static java.util.Collection<Location> Location.getKnown()
          Get all institutions known.
 

Methods in dk.netarkivet.common.distribute.arcrepository with parameters of type Location
 void ViewerArcRepositoryClient.getFile(java.lang.String arcfilename, Location location, java.io.File toFile)
          Retrieves a file from an ArcRepository and places it in a local file.
 void TrivialArcRepositoryClient.getFile(java.lang.String arcfilename, Location location, java.io.File toFile)
          Retrieves a file from an ArcRepository and places it in a local file.
 void PreservationArcRepositoryClient.getFile(java.lang.String arcfilename, Location location, java.io.File toFile)
          Retrieves a file from an ArcRepository and places it in a local file.
 void ArcRepositoryClient.getFile(java.lang.String arcfilename, Location location, java.io.File toFile)
          Retrieves a file from an ArcRepository and places it in a local file.