Interface RecordFactory
-
public interface RecordFactoryThis interface is used to implement any data provider record
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DCRecordgetRecord(String id)return a dublin core recordVectorgetRecords(String from, String until, String set, int startno, int size)VectorgetSets(int startno, int endno)
-
-
-
Method Detail
-
getRecord
DCRecord getRecord(String id) throws Exception
return a dublin core record- Parameters:
id- the record id- Returns:
- the DC record
- Throws:
Exception
-
getRecords
Vector getRecords(String from, String until, String set, int startno, int size) throws Exception
- Parameters:
from- from parameter in OAI -- accession dateuntil- until parameter in OAI -- accession dateset- set parameterstartno- start cursor in result setsize- expected returned size startno and size are used to support resumptionToken, if no resumption is required, simply assign 0 to size- Throws:
Exception
-
-