public interface HarvestedItemService
| Modifier and Type | Method and Description |
|---|---|
HarvestedItem |
create(Context context,
Item item,
String itemOAIid)
Create a new harvested item row for a specified item id.
|
void |
delete(Context context,
HarvestedItem harvestedItem) |
HarvestedItem |
find(Context context,
Item item)
Find the harvest parameters corresponding to the specified DSpace item
|
Item |
getItemByOAIId(Context context,
String itemOaiID,
Collection collection)
Retrieve a DSpace Item that corresponds to this particular combination of owning collection and OAI ID.
|
void |
update(Context context,
HarvestedItem harvestedItem) |
HarvestedItem find(Context context, Item item) throws SQLException
SQLExceptionItem getItemByOAIId(Context context, String itemOaiID, Collection collection) throws SQLException
context - itemOaiID - the string used by the OAI-PMH provider to identify the itemcollection - the local collection that the item should be found inSQLExceptionHarvestedItem create(Context context, Item item, String itemOAIid) throws SQLException
SQLExceptionvoid update(Context context, HarvestedItem harvestedItem) throws SQLException
SQLExceptionvoid delete(Context context, HarvestedItem harvestedItem) throws SQLException
SQLExceptionCopyright © 2022 LYRASIS. All rights reserved.