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
context - The relevant DSpace Context.item - target itemSQLException - An exception that provides information on a database access error or other errors.Item getItemByOAIId(Context context, String itemOaiID, Collection collection) throws SQLException
context - The relevant DSpace Context.itemOaiID - the string used by the OAI-PMH provider to identify the itemcollection - the local collection that the item should be found inSQLException - An exception that provides information on a database access error or other errors.HarvestedItem create(Context context, Item item, String itemOAIid) throws SQLException
context - The relevant DSpace Context.item - target itemitemOAIid - the string used by the OAI-PMH provider to identify the itemSQLException - An exception that provides information on a database access error or other errors.void update(Context context, HarvestedItem harvestedItem) throws SQLException
SQLExceptionvoid delete(Context context, HarvestedItem harvestedItem) throws SQLException
SQLExceptionCopyright © 2019 DuraSpace. All rights reserved.