Interface DataProviderInterface
-
- All Known Implementing Classes:
DataProvider
public interface DataProviderInterface
Every data provider class has to implement this interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Element
getRecord(String handle, String metaformat)
Element
identify()
Element
listIdentifiers(String resumptionToken)
Element
listIdentifiers(String fileafter, String filebefore, String setspec, String metaformat)
Element
listMetadataFormats(String identifier)
Element
listRecords(String resumptionToken)
Element
listRecords(String fileafter, String filebefore, String setspec, String metaformat)
Element
listSets()
Element
listSets(String resumptionToken)
-
-
-
Method Detail
-
identify
Element identify()
- Returns:
- Element
-
listSets
Element listSets(String resumptionToken) throws OAIError
- Parameters:
resumptionToken
-- Returns:
- Element
- Throws:
OAIError
-
listMetadataFormats
Element listMetadataFormats(String identifier) throws OAIError
- Parameters:
id
-- Returns:
- Element
- Throws:
OAIError
-
listIdentifiers
Element listIdentifiers(String fileafter, String filebefore, String setspec, String metaformat) throws OAIError
- Parameters:
fileafter
-filebefore
-setspec
-metaformat
-- Returns:
- Element
- Throws:
OAIError
-
listIdentifiers
Element listIdentifiers(String resumptionToken) throws OAIError
- Parameters:
resumptionToken
-- Returns:
- Element
- Throws:
OAIError
-
listRecords
Element listRecords(String fileafter, String filebefore, String setspec, String metaformat) throws OAIError
- Parameters:
fileafter
-filebefore
-setspec
-metaformat
-- Returns:
- Element
- Throws:
OAIError
-
listRecords
Element listRecords(String resumptionToken) throws OAIError
- Parameters:
resumptionToken
-- Returns:
- Element
- Throws:
OAIError
-
-