Modifier and Type | Method and Description |
---|---|
ReplicaStoreState |
AdminDataMessage.getNewvalue() |
Constructor and Description |
---|
AdminDataMessage(String theFileName,
String theReplicaId,
ReplicaStoreState newval)
Constructor used when you change the BitarchiveStoreState.
|
Modifier and Type | Method and Description |
---|---|
void |
JMSArcRepositoryClient.updateAdminData(String fileName,
String replicaId,
ReplicaStoreState newval)
Request update of admin data to specific state.
|
Modifier and Type | Method and Description |
---|---|
ReplicaStoreState |
ReplicaCacheDatabase.getReplicaStoreState(String filename,
String replicaId)
Retrieves the ReplicaStoreState for the entry in the replicafileinfo table, which refers to the given file and
replica.
|
ReplicaStoreState |
ArchiveStoreState.getState()
Return the current BitArchiveStoreState.
|
ReplicaStoreState |
DatabaseAdmin.getState(String filename,
String replicaChannelName)
Returns the ReplicaStoreState of a given file in a specific replica.
|
ReplicaStoreState |
AdminData.getState(String arcfileName,
String replicaChannelName)
Deprecated.
Retrieves the storage state of a file for a specific replica.
|
ReplicaStoreState |
Admin.getState(String filename,
String replicaChannelName)
Returns the ReplicaStoreState of a given file in a specific replica.
|
ReplicaStoreState |
ArcRepositoryEntry.getStoreState(String baId)
Get the StoreState for this entry for a given bitarchive or null if none.
|
ReplicaStoreState |
ReplicaFileInfo.getUploadState()
Retrieves the uploadState.
|
protected static ReplicaStoreState |
ReplicaCacheHelpers.retrieveUploadStatus(long fileGuid,
String repId,
Connection con)
Retrieves the UploadStatus for a specific entry in the replicafileinfo table identified by the file guid and the
replica id.
|
Modifier and Type | Method and Description |
---|---|
void |
ReplicaCacheDatabase.changeStateOfReplicafileinfo(String filename,
Replica replica,
ReplicaStoreState state)
Method for inserting an entry into the database about a file upload has begun for a specific replica.
|
void |
ReplicaCacheDatabase.changeStateOfReplicafileinfo(String filename,
String checksum,
Replica replica,
ReplicaStoreState state)
Method for inserting an entry into the database about a file upload has begun for a specific replica.
|
Set<String> |
DatabaseAdmin.getAllFileNames(Replica rep,
ReplicaStoreState state)
Retrieves a set with the name of the files with a specific ReplicaStoreState in a specific replica.
|
Set<String> |
AdminData.getAllFileNames(Replica replica,
ReplicaStoreState state)
Deprecated.
Returns a set of the arcfile names that are in a given state for a specific bitarchive in the repository.
|
Set<String> |
Admin.getAllFileNames(Replica rep,
ReplicaStoreState state)
Retrieves a set with the name of the files with a specific ReplicaStoreState in a specific replica.
|
Collection<String> |
ReplicaCacheDatabase.retrieveFilenamesForReplicaEntries(String replicaId,
ReplicaStoreState state)
Retrieves the names of all the files in the given replica which has the specified UploadStatus.
|
void |
ReplicaCacheDatabase.setReplicaStoreState(String filename,
String replicaId,
ReplicaStoreState state)
Sets the ReplicaStoreState for the entry in the replicafileinfo table.
|
void |
ArchiveStoreState.setState(ReplicaStoreState state)
Sets the current ReplicaStoreState.
|
void |
ArchiveStoreState.setState(ReplicaStoreState state,
Date lastDate)
Sets the current ReplicaStoreState.
|
void |
UpdateableAdminData.setState(String fileName,
String replicaID,
ReplicaStoreState state)
Deprecated.
Sets the store state for the given file on the given bitarchive.
|
void |
DatabaseAdmin.setState(String filename,
String repChannelId,
ReplicaStoreState state)
Sets the store state of an entry to a specific value.
|
void |
Admin.setState(String filename,
String repChannelId,
ReplicaStoreState state)
Sets the store state of an entry to a specific value.
|
protected static void |
ReplicaCacheHelpers.updateReplicaFileInfo(long replicafileinfoGuid,
String checksum,
Date date,
ReplicaStoreState state,
Connection con)
Method for updating an entry in the replicafileinfo table.
|
protected static void |
ReplicaCacheHelpers.updateReplicaFileInfo(long replicafileinfoGuid,
String checksum,
ReplicaStoreState state,
Connection con)
Method for updating an entry in the replicafileinfo table.
|
Constructor and Description |
---|
ArchiveStoreState(ReplicaStoreState storestate)
Constructor for this class.
|
ArchiveStoreState(ReplicaStoreState storestate,
Date lastchanged)
Constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void |
TrivialArcRepositoryClient.updateAdminData(String fileName,
String bitarchiveId,
ReplicaStoreState newval)
Updates the administrative data in the ArcRepository for a given file and replica.
|
Modifier and Type | Method and Description |
---|---|
static ReplicaStoreState |
ReplicaStoreState.fromOrdinal(int ordinal) |
static ReplicaStoreState |
ReplicaStoreState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicaStoreState[] |
ReplicaStoreState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
PreservationArcRepositoryClient.updateAdminData(String fileName,
String replicaId,
ReplicaStoreState newval)
Updates the administrative data in the ArcRepository for a given file and bitarchive replica.
|
void |
LocalArcRepositoryClient.updateAdminData(String fileName,
String bitarchiveId,
ReplicaStoreState newval)
Updates the administrative data in the ArcRepository for a given file and replica.
|
void |
ArcRepositoryClient.updateAdminData(String fileName,
String bitarchiveId,
ReplicaStoreState newval)
Updates the administrative data in the ArcRepository for a given file and replica.
|
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.