public interface EuropeanaIdMongoServer
| Modifier and Type | Method and Description |
|---|---|
void |
createDatastore() |
void |
deleteEuropeanaId(String oldId,
String newId)
Delete a specific EuropeanaID 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
|
EuropeanaId |
find() |
EuropeanaId |
findOne(String oldId) |
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
|
List<EuropeanaId> |
retrieveEuropeanaIdFromNew(String newId)
Find the EuropeanaId records based on the newId
|
EuropeanaId |
retrieveEuropeanaIdFromOld(List<String> oldIds)
Find the EuropeanaId records based on the oldIds
|
EuropeanaId |
retrieveEuropeanaIdFromOld(String oldId)
Deprecated.
Use the retrieveEuropeanaIdFromOld(List
|
void |
saveEuropeanaId(EuropeanaId europeanaId)
Save the europeanaId a update any references to it
|
void |
setDatastore(org.mongodb.morphia.Datastore datastore) |
void |
setLastAccessed(String oldId)
Set the last accessed field on the record
|
void |
updateTime(String newId,
String oldId) |
void createDatastore()
@Deprecated EuropeanaId retrieveEuropeanaIdFromOld(String oldId)
oldId - The id to search forEuropeanaId retrieveEuropeanaIdFromOld(List<String> oldIds)
oldIds - The ids to search forList<EuropeanaId> retrieveEuropeanaIdFromNew(String newId)
newId - The id to search forboolean oldIdExists(String newId)
newId - the newIDboolean newIdExists(String oldId)
oldId - the oldIDvoid setLastAccessed(String oldId)
oldId - The oldIdvoid saveEuropeanaId(EuropeanaId europeanaId)
europeanaId - The europeanaId to savevoid deleteEuropeanaId(String oldId, String newId)
oldId - The oldId to search fornewId - The newId to search forvoid deleteEuropeanaIdFromOld(String oldId)
oldId - The id to search forvoid deleteEuropeanaIdFromNew(String newId)
newId - The id to search forvoid setDatastore(org.mongodb.morphia.Datastore datastore)
EuropeanaId find()
EuropeanaId findOne(String oldId)
Copyright © 2017 Europeana Foundation. All rights reserved.