public interface EuropeanaIdRegistryMongoServer
| Modifier and Type | Method and Description |
|---|---|
void |
createFailedRecord(LookupState state,
String collectionID,
String oldID,
String newId,
String xml)
Sets a value for a failed record
|
void |
deleteEuropeanaIdFromNew(String newId)
Delete all the records based on the newID
|
void |
deleteEuropeanaIdFromOld(String oldId)
Delete all the records based on the oldID
|
void |
deleteFailedRecord(String europeanaId,
String collectionID)
Deletes a failed record
|
void |
deleteFailedRecords(String collectionID)
Delete all failed records entries for a collection
|
com.google.code.morphia.Datastore |
getDatastore()
Get the Morphia Datastore instance
|
EuropeanaIdMongoServer |
getEuropeanaIdMongoServer() |
List<Map<String,String>> |
getFailedRecords(String collectionId)
Retrieve the failed records for a collection ID
|
boolean |
isdeleted(String europeanaID)
Check if the record that corresponds to the specific europeana id is deleted
|
LookupResult |
lookupUiniqueId(String origID,
String collectionID,
String xml,
String sessionID) |
void |
markdeleted(String europeanaID,
boolean isdeleted)
Marks the specific ID as deleted
|
boolean |
newIdExists(String oldId)
Check if the record has newID based on the oldID
|
boolean |
oldIdExists(String newId)
Check if the record has oldIDs based on the newID
|
EuropeanaIdRegistry |
retrieveEuropeanaIdFromNew(String newId)
Find the EuropeanaId records based on the newId (Europeana id)
|
List<EuropeanaIdRegistry> |
retrieveEuropeanaIdFromOriginal(String originalId,
String collectionid)
Find the EuropeanaId records based on the oldId
|
EuropeanaIdRegistry |
retrieveFromOriginalXML(String orId,
String xml)
Retrieve a record from the original XML
|
void |
updateTime(String newId,
String oldId) |
EuropeanaIdMongoServer getEuropeanaIdMongoServer()
LookupResult lookupUiniqueId(String origID, String collectionID, String xml, String sessionID)
origID - collectionID - xml - void createFailedRecord(LookupState state, String collectionID, String oldID, String newId, String xml)
state - oldID - void deleteFailedRecord(String europeanaId, String collectionID)
state - oldID - void deleteFailedRecords(String collectionID)
collectionID - List<EuropeanaIdRegistry> retrieveEuropeanaIdFromOriginal(String originalId, String collectionid)
oldId - The id to search forEuropeanaIdRegistry retrieveEuropeanaIdFromNew(String newId)
newId - The id to search forboolean oldIdExists(String newId)
newId - the newIDEuropeanaIdRegistry retrieveFromOriginalXML(String orId, String xml)
orId - The originalIDxml - The original XMLboolean newIdExists(String oldId)
oldId - the oldIDvoid deleteEuropeanaIdFromOld(String oldId)
oldId - The id to search forvoid deleteEuropeanaIdFromNew(String newId)
newId - The id to search forList<Map<String,String>> getFailedRecords(String collectionId)
collectionId - The collection ID to usevoid markdeleted(String europeanaID, boolean isdeleted)
europeanaID - isdeleted - boolean isdeleted(String europeanaID)
europeanaID - com.google.code.morphia.Datastore getDatastore()
Copyright © 2017 Europeana Foundation. All Rights Reserved.