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 FilePreservationState.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 with parameters of type Location
protected  boolean FilePreservationState.fileIsMissing(Location bitarchive)
          Check if the file is missing from a bitarchive.
 void ActiveBitPreservation.findChangedFiles(Location bitarchive)
          Update the list of checksums in a given bitarchive.
 void FileBasedActiveBitPreservation.findChangedFiles(Location location)
          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.findMissingFiles(Location bitarchive)
          Update the list of files in a given bitarchive.
 void FileBasedActiveBitPreservation.findMissingFiles(Location location)
          This method takes as input the name of a bitarchive location for which we wish to run a FileListJob.
 java.lang.String FilePreservationState.getAdminBitarchiveState(Location bitarchive)
          Get the status of the file in a bitarchive, according to the admin data.
 BitArchiveStoreState FilePreservationState.getAdminBitarchiveStoreState(Location bitarchive)
          Get the status of the file in a bitarchive, according to the admin data.
 java.util.List<java.lang.String> FilePreservationState.getBitarchiveChecksum(Location bitarchive)
          Get the checksum of this file in a specific bitarchive.
 java.lang.Iterable<java.lang.String> ActiveBitPreservation.getChangedFiles(Location location)
          Return a list of files with changed checksums on this location.
 java.lang.Iterable<java.lang.String> FileBasedActiveBitPreservation.getChangedFiles(Location bitarchive)
          Get a list of wrong files in a given bitarchive.
 java.util.Date ActiveBitPreservation.getDateForChangedFiles(Location location)
          Return the date for last check of changed files for location.
 java.util.Date FileBasedActiveBitPreservation.getDateForChangedFiles(Location location)
          Get the date for last time the checksum information was updated for this location.
 java.util.Date ActiveBitPreservation.getDateForMissingFiles(Location location)
          Return the date for last check of missing files for location.
 java.util.Date FileBasedActiveBitPreservation.getDateForMissingFiles(Location location)
          Get the date for last time the missing files information was updated for this location.
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 location, WorkFiles fileType)
           
 java.lang.Iterable<java.lang.String> ActiveBitPreservation.getMissingFiles(Location location)
          Return a list of files marked as missing on this location.
 java.lang.Iterable<java.lang.String> FileBasedActiveBitPreservation.getMissingFiles(Location bitarchive)
          Get a list of missing files in a given bitarchive.
 long ActiveBitPreservation.getNumberOfChangedFiles(Location location)
          Return the number of changed files for location.
 long FileBasedActiveBitPreservation.getNumberOfChangedFiles(Location bitarchive)
          Get the number of wrong files for a bitarchive.
 long ActiveBitPreservation.getNumberOfFiles(Location location)
          Return the total number of files for location.
 long FileBasedActiveBitPreservation.getNumberOfFiles(Location bitarchive)
          Return the number of files found in the bitarchive.
 long ActiveBitPreservation.getNumberOfMissingFiles(Location location)
          Return the number of missing files for location.
 long FileBasedActiveBitPreservation.getNumberOfMissingFiles(Location bitarchive)
          Get the number of missing files in a given bitarchive.
(package private) static java.io.File WorkFiles.getPreservationDir(Location location)
          Get the base dir for all files related to bitpreservation for a given bitarchive.
 java.lang.String FilePreservationState.getUniqueChecksum(Location l)
          Get a checksum that the whole bitarchive agrees upon, or else "".
static void WorkFiles.removeLine(Location loc, WorkFiles fileType, java.lang.String line)
           
 void ActiveBitPreservation.replaceChangedFile(Location location, java.lang.String filename, java.lang.String credentials, java.lang.String checksum)
          Check that the checksum of the file is indeed different to the value in admin data and reference location.
 void FileBasedActiveBitPreservation.replaceChangedFile(Location location, java.lang.String filename, java.lang.String credentials, java.lang.String checksum)
          Check that file checksum is indeed different to admin data and reference location.
 void ActiveBitPreservation.uploadMissingFiles(Location location, java.lang.String... filenames)
          Check that files are indeed missing on the given location, and present in admin data and reference location.
 void FileBasedActiveBitPreservation.uploadMissingFiles(Location location, java.lang.String... filenames)
          Check that files are indeed missing on the bitarchive location, and present in admin data and reference location.
static void WorkFiles.write(Location location, WorkFiles missingFilesBa, java.util.Set<java.lang.String> files)
           
 

Constructor parameters in dk.netarkivet.archive.arcrepository.bitpreservation with type arguments of type Location
FilePreservationState(java.lang.String filename, ArcRepositoryEntry admindata, java.util.Map<Location,java.util.List<java.lang.String>> checksumMap)
          Create new instance of the preservation status for a file.
 

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 void BitpreserveFileState.printChecksumErrorStateForLocation(javax.servlet.jsp.JspWriter out, Location location, java.util.Locale locale)
          Print HTML formatted state for checksum errors on a given location in a given locale.
static void BitpreserveFileState.printMissingFileStateForLocation(javax.servlet.jsp.JspWriter out, Location location, java.util.Locale locale)
          Print HTML formatted state for missing files on a given location in a given locale.
 

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 location 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 known locations.
 

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 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.
 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 LocalArcRepositoryClient.getFile(java.lang.String arcfilename, Location location, java.io.File toFile)
          Retrieves a file from an ArcRepository and places it in a local file.