| Package | Description |
|---|---|
| org.dspace.importer.external.metadatamapping.transform |
Transformer classes used by services classes (Such as processing/generating queries, altering results, etc)
|
| org.dspace.importer.external.pubmed.metadatamapping.transform |
Pubmed implementation of specific
org.dspace.importer.external.metadatamapping.transform classes |
| org.dspace.importer.external.pubmed.service |
Pubmed implementation of specific
org.dspace.importer.external.service classes |
| org.dspace.importer.external.service |
Main import framework services.
|
| org.dspace.importer.external.service.components |
Service components that are aggregated/used in the
AbstractImportMetadataSourceService and ImportService |
| Modifier and Type | Method and Description |
|---|---|
Query |
GenerateQueryService.generateQueryForItem(Item item) |
| Modifier and Type | Method and Description |
|---|---|
Query |
GeneratePubmedQueryService.generateQueryForItem(Item item)
Create a Query object based on a given item.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ImportRecord> |
PubmedImportMetadataSourceServiceImpl.findMatchingRecords(Item item)
Finds records based on an item
|
Collection<ImportRecord> |
PubmedImportMetadataSourceServiceImpl.findMatchingRecords(Query query)
Finds records based on query object.
|
int |
PubmedImportMetadataSourceServiceImpl.getNbRecords(Query query)
Find the number of records matching a query;
|
int |
PubmedImportMetadataSourceServiceImpl.getNbRecords(String query)
Find the number of records matching a query;
|
ImportRecord |
PubmedImportMetadataSourceServiceImpl.getRecord(Query query)
Get a single record from the source.
|
ImportRecord |
PubmedImportMetadataSourceServiceImpl.getRecord(String id)
Get a single record from the source.
|
Collection<ImportRecord> |
PubmedImportMetadataSourceServiceImpl.getRecords(Query query)
Find records based on a object query.
|
Collection<ImportRecord> |
PubmedImportMetadataSourceServiceImpl.getRecords(String query,
int start,
int count)
Find the number of records matching a string query.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ImportRecord> |
ImportService.findMatchingRecords(String uri,
Item item)
Finds records based on an item
Delegates to one or more MetadataSource implementations based on the uri.
|
Collection<ImportRecord> |
ImportService.findMatchingRecords(String uri,
Query query)
Finds records based on query object.
|
int |
ImportService.getNbRecords(String uri,
Query query)
Find the number of records matching a query;
|
int |
ImportService.getNbRecords(String uri,
String query)
Find the number of records matching a string query;
|
ImportRecord |
ImportService.getRecord(String uri,
Query query)
Get a single record from the source.
|
ImportRecord |
ImportService.getRecord(String uri,
String id)
Get a single record from a source.
|
Collection<ImportRecord> |
ImportService.getRecords(String uri,
Query query)
Find the number of records matching a object query.
|
Collection<ImportRecord> |
ImportService.getRecords(String uri,
String query,
int start,
int count)
Find the number of records matching a string query.
|
void |
ImportService.setImportSources(List<MetadataSource> importSources)
Sets the importsources that will be used to delegate the retrieving and matching of records to
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ImportRecord> |
MetadataSource.findMatchingRecords(Item item)
Finds records based on an item
Delegates to one or more MetadataSource implementations based on the uri.
|
Collection<ImportRecord> |
MetadataSource.findMatchingRecords(Query query)
Finds records based on query object.
|
int |
MetadataSource.getNbRecords(Query query)
Gets the number of records matching a query
|
int |
MetadataSource.getNbRecords(String query)
Gets the number of records matching a query
|
ImportRecord |
MetadataSource.getRecord(Query query)
Get a single record from the source.
|
ImportRecord |
MetadataSource.getRecord(String id)
Get a single record from the source.
|
Collection<ImportRecord> |
MetadataSource.getRecords(Query query)
Find records based on a object query.
|
Collection<ImportRecord> |
MetadataSource.getRecords(String query,
int start,
int count)
Gets a set of records matching a query.
|
protected void |
AbstractRemoteMetadataSource.handleException(int retry,
Exception exception,
String operationId)
Handles a given exception or throws on a
MetadataSourceException if no ExceptionHandler is set |
protected <T> T |
AbstractRemoteMetadataSource.retry(Callable<T> callable)
Command pattern implementation.
|
protected void |
AbstractRemoteMetadataSource.throwSourceException(int retry,
Exception exception,
String operationId)
Throw a
MetadataSourceException |
Copyright © 2017 DuraSpace. All rights reserved.