public interface OAIProvider
| Modifier and Type | Method and Description |
|---|---|
Set |
getAdminEmails()
Get the email addresses of administrators of the repository.
|
String |
getBaseURL(String protocol,
String port)
Get the HTTP endpoint for the OAI-PMH interface.
|
DateGranularitySupport |
getDateGranularitySupport()
Get the finest harvesting granularity supported by the repository.
|
DeletedRecordSupport |
getDeletedRecordSupport()
Get the manner in which the repository supports the notion of deleted
records.
|
Set |
getDescriptions()
Get XML descriptions of the repository.
|
Date |
getEarliestDatestamp()
Get a Date (in UTC) that is the guaranteed lower limit of all datestamps
recording changes, modifications, or deletions in the repository.
|
List |
getHeaders(Date from,
Date until,
String metadataPrefix,
String set)
Just like getRecords, but returns Header objects.
|
List |
getHeaders(String resumptionToken)
Get the remaining portion of a set of Headers.
|
long |
getMaxHeaders()
Get the maximum number of headers that are returned at a time.
|
long |
getMaxRecords()
Get the maximum number of records that are returned at a time.
|
long |
getMaxSets()
Get the maximum number of sets that are returned at a time.
|
Set |
getMetadataFormats(String id)
Get the MetadataFormats supported across the repository or for an
individual item in the repository.
|
String |
getProtocolVersion()
Get the version of the OAI-PMH supported by the repository.
|
Record |
getRecord(String identifier,
String metadataPrefix)
Get an individual metadata record from the repository.
|
List |
getRecords(Date from,
Date until,
String metadataPrefix,
String set)
Get the Records in the repository matching the given criteria.
|
List |
getRecords(String resumptionToken)
Get the remaining portion of a set of Records.
|
String |
getRepositoryName()
Get a human readable name for the repository.
|
List |
getSets()
Get the setSpecs, setNames, and setDescriptions of sets in the
repository.
|
List |
getSets(String resumptionToken)
Get the remaining portion of a set of Sets.
|
Set |
getSupportedCompressionEncodings()
Get the compression encodings supported by the repository.
|
String getRepositoryName() throws RepositoryException
RepositoryException - if an error has occurred.String getBaseURL(String protocol, String port) throws RepositoryException
RepositoryException - if an error has occurred.String getProtocolVersion() throws RepositoryException
RepositoryException - if an error has occurred.Date getEarliestDatestamp() throws RepositoryException
RepositoryException - if an error has occurred.DeletedRecordSupport getDeletedRecordSupport() throws RepositoryException
RepositoryException - if an error has occurred.DateGranularitySupport getDateGranularitySupport() throws RepositoryException
RepositoryException - if an error has occurred.Set getAdminEmails() throws RepositoryException
RepositoryException - if an error has occurred.Set getSupportedCompressionEncodings() throws RepositoryException
RepositoryException - if an error has occurred.Set getDescriptions() throws RepositoryException
RepositoryException - if an error has occurred.Record getRecord(String identifier, String metadataPrefix) throws CannotDisseminateFormatException, IDDoesNotExistException, RepositoryException
identifier - the record identifier.metadataPrefix - the metadata prefix identifier.CannotDisseminateFormatExceptionIDDoesNotExistExceptionRepositoryException - if an error has occurred.List getRecords(Date from, Date until, String metadataPrefix, String set) throws CannotDisseminateFormatException, NoRecordsMatchException, NoSetHierarchyException, RepositoryException
from - the beginning date of the date range.until - the ending date of the date range.metadataPrefix - the metadata prefix.set - the set of criteriaCannotDisseminateFormatExceptionNoRecordsMatchExceptionNoSetHierarchyExceptionRepositoryException - if an error has occurred.List getRecords(String resumptionToken) throws CannotDisseminateFormatException, NoRecordsMatchException, NoSetHierarchyException, BadResumptionTokenException, RepositoryException
resumptionToken - a string that can be used to get the rest of the list.CannotDisseminateFormatExceptionNoRecordsMatchExceptionNoSetHierarchyExceptionBadResumptionTokenExceptionRepositoryException - if an error has occurred.List getHeaders(Date from, Date until, String metadataPrefix, String set) throws CannotDisseminateFormatException, NoRecordsMatchException, NoSetHierarchyException, RepositoryException
from - the beginning date range.until - the end of the date range.metadataPrefix - the metadata prefix.set - the set of criteria.CannotDisseminateFormatExceptionNoRecordsMatchExceptionNoSetHierarchyExceptionRepositoryException - if an error has occurred.List getHeaders(String resumptionToken) throws CannotDisseminateFormatException, NoRecordsMatchException, NoSetHierarchyException, BadResumptionTokenException, RepositoryException
resumptionToken - a string that can be used to get the rest of the list.CannotDisseminateFormatExceptionNoRecordsMatchExceptionNoSetHierarchyExceptionBadResumptionTokenExceptionRepositoryException - if an error has occurred.List getSets() throws NoSetHierarchyException, RepositoryException
NoSetHierarchyExceptionRepositoryException - if an error has occurred.List getSets(String resumptionToken) throws BadResumptionTokenException, NoSetHierarchyException, RepositoryException
resumptionToken - a string that can be used to get the rest of the list.BadResumptionTokenExceptionNoSetHierarchyExceptionRepositoryException - if an error has occurred.Set getMetadataFormats(String id) throws IDDoesNotExistException, NoMetadataFormatsException, RepositoryException
id - The item identifier, or null, meaning "the entire repository"IDDoesNotExistExceptionNoMetadataFormatsExceptionRepositoryException - if an error has occurred.long getMaxSets()
throws RepositoryException
RepositoryException - if an error has occurred.long getMaxRecords()
throws RepositoryException
RepositoryException - if an error has occurred.long getMaxHeaders()
throws RepositoryException
RepositoryException - if an error has occurred.Copyright © 2013 DuraSpace. All Rights Reserved.