public interface PublisherStoreDAO<X extends PublisherStore<T>,T extends Cursor>
| Modifier and Type | Method and Description |
|---|---|
X |
createStore(String mdfName,
String mdfInterpretation,
String mdfLayout,
String dbName)
Create a PublisherStore with the given properties.
|
boolean |
deleteFromStore(String storeId,
String dbName,
String set)
Deletes from the store with the given identifier the records belonging to the given set.
|
boolean |
deleteFromStore(String mdfName,
String mdfInterpretation,
String mdfLayout,
String dbName,
String set)
Deletes from the store with the given identifier the records belonging to the given set.
|
boolean |
deleteStore(String storeId,
String dbName)
Deletes the store with the given identifier.
|
boolean |
deleteStore(String mdfName,
String mdfInterpretation,
String mdfLayout,
String dbName)
Deletes the store with the given properties.
|
X |
getStore(String storeId,
String dbName)
Gets the store with the given identifier.
|
X |
getStore(String mdfName,
String mdfInterpretation,
String mdfLayout,
String dbName)
Gets the store with the given properties.
|
X |
getStoreFor(String targetMetadataPrefix,
String dbName)
Gets the store to be used as source to deliver records with the given metadata prefix.
|
List<X> |
listPublisherStores(String dbName)
Lists all PublisherStore.
|
List<X> listPublisherStores(String dbName)
dbName - name of the target databaseX getStore(String storeId, String dbName)
dbName - name of the target databasestoreId - identifier of the store to retrieveX getStore(String mdfName, String mdfInterpretation, String mdfLayout, String dbName)
mdfName - name of the metadata formatmdfInterpretation - name of the metadata interpretationmdfLayout - name of the metadata layoutdbName - name of the target databaseX getStoreFor(String targetMetadataPrefix, String dbName)
targetMetadataPrefix - prefix of the metadata format deliverable through this storedbName - name of the target databaseX createStore(String mdfName, String mdfInterpretation, String mdfLayout, String dbName) throws eu.dnetlib.data.information.oai.publisher.OaiPublisherException
mdfName - name of the metadata formatmdfInterpretation - name of the metadata interpretationmdfLayout - name of the metadata layoutdbName - name of the target databaseeu.dnetlib.data.information.oai.publisher.OaiPublisherException - if there is already another PublisherStore with the given metadata format name, layout and interpretation.boolean deleteStore(String storeId, String dbName)
storeId - id of the store to deletedbName - name of the target databaseboolean deleteFromStore(String storeId, String dbName, String set)
storeId - id of the store to deletedbName - name of the target databaseset - name of the setboolean deleteFromStore(String mdfName, String mdfInterpretation, String mdfLayout, String dbName, String set)
mdfName - name of the metadata formatmdfInterpretation - name of the metadata interpretationmdfLayout - name of the metadata layoutdbName - name of the target databaseset - name of the setboolean deleteStore(String mdfName, String mdfInterpretation, String mdfLayout, String dbName)
mdfName - name of the metadata formatmdfInterpretation - name of the metadata interpretationmdfLayout - name of the metadata layoutdbName - name of the target databaseCopyright © 2026. All rights reserved.