Interface RecordFactory
-
public interface RecordFactory
This interface is used to implement any data provider record
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DCRecord
getRecord(String id)
return a dublin core recordVector
getRecords(String from, String until, String set, int startno, int size)
Vector
getSets(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
-
-