|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.harvest.HarvestedItem
public class HarvestedItem
| Method Summary | |
|---|---|
static HarvestedItem |
create(Context c,
int itemId,
String itemOAIid)
Create a new harvested item row for a specified item id. |
void |
delete()
|
static void |
exists(Context c)
|
static HarvestedItem |
find(Context c,
int item_id)
Find the harvest parameters corresponding to the specified DSpace item |
Date |
getHarvestDate()
|
static Item |
getItemByOAIId(Context context,
String itemOaiID,
int collectionID)
Retrieve a DSpace Item that corresponds to this particular combination of owning collection and OAI ID. |
String |
getItemID()
|
String |
getOaiID()
Get the oai_id associated with this item |
void |
setHarvestDate(Date date)
|
void |
setOaiID(String itemOaiID)
Set the oai_id associated with this item |
void |
update()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void exists(Context c)
throws SQLException
SQLException
public static HarvestedItem find(Context c,
int item_id)
throws SQLException
SQLException
public static Item getItemByOAIId(Context context,
String itemOaiID,
int collectionID)
throws SQLException
context - itemOaiID - the string used by the OAI-PMH provider to identify the itemcollectionID - id of the local collection that the item should be found in
SQLException
public static HarvestedItem create(Context c,
int itemId,
String itemOAIid)
throws SQLException
SQLExceptionpublic String getItemID()
public String getOaiID()
public void setOaiID(String itemOaiID)
public void setHarvestDate(Date date)
public Date getHarvestDate()
public void delete()
throws SQLException
SQLException
public void update()
throws SQLException,
IOException,
AuthorizeException
SQLException
IOException
AuthorizeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||