public interface CollectionMongoServer
| Modifier and Type | Method and Description |
|---|---|
String |
findNewCollectionId(String oldCollectionId)
Retrieve the new CollectionId based on the old CollectionID.
|
String |
findOldCollectionId(String newCollectionId)
Retrieve the old CollectionId based on the new CollectionID.
|
List<Collection> |
retrieveAllCollections()
Retrieve all stored collections
|
void |
saveCollection(Collection collection)
Save a Collection
|
void |
setDatastore(org.mongodb.morphia.Datastore datastore) |
String findNewCollectionId(String oldCollectionId)
oldCollectionId - The old Collection IDString findOldCollectionId(String newCollectionId)
newCollectionId - void saveCollection(Collection collection)
collection - The collection to saveList<Collection> retrieveAllCollections()
void setDatastore(org.mongodb.morphia.Datastore datastore)
Copyright © 2017 Europeana Foundation. All rights reserved.