public class HarvestedItemServiceImpl extends Object implements HarvestedItemService
| Modifier and Type | Field and Description |
|---|---|
protected HarvestedItemDAO |
harvestedItemDAO |
| Modifier | Constructor and Description |
|---|---|
protected |
HarvestedItemServiceImpl() |
| 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) |
@Autowired(required=true) protected HarvestedItemDAO harvestedItemDAO
public HarvestedItem find(Context context, Item item) throws SQLException
HarvestedItemServicefind in interface HarvestedItemServiceSQLExceptionpublic Item getItemByOAIId(Context context, String itemOaiID, Collection collection) throws SQLException
HarvestedItemServicegetItemByOAIId in interface HarvestedItemServiceitemOaiID - the string used by the OAI-PMH provider to identify the itemcollection - the local collection that the item should be found inSQLExceptionpublic HarvestedItem create(Context context, Item item, String itemOAIid) throws SQLException
HarvestedItemServicecreate in interface HarvestedItemServiceSQLExceptionpublic void update(Context context, HarvestedItem harvestedItem) throws SQLException
update in interface HarvestedItemServiceSQLExceptionpublic void delete(Context context, HarvestedItem harvestedItem) throws SQLException
delete in interface HarvestedItemServiceSQLExceptionCopyright © 2022 LYRASIS. All rights reserved.