| Package | Description |
|---|---|
| org.dspace.harvest | |
| org.dspace.harvest.dao | |
| org.dspace.harvest.dao.impl | |
| org.dspace.harvest.service |
| Modifier and Type | Method and Description |
|---|---|
HarvestedCollection |
HarvestedCollectionServiceImpl.create(Context context,
Collection collection) |
HarvestedCollection |
HarvestedCollectionServiceImpl.find(Context context,
Collection collection) |
HarvestedCollection |
HarvestedCollectionServiceImpl.findNewestHarvest(Context context) |
HarvestedCollection |
HarvestedCollectionServiceImpl.findOldestHarvest(Context context) |
| Modifier and Type | Method and Description |
|---|---|
List<HarvestedCollection> |
HarvestedCollectionServiceImpl.findAll(Context context) |
List<HarvestedCollection> |
HarvestedCollectionServiceImpl.findByStatus(Context context,
int status) |
List<HarvestedCollection> |
HarvestedCollectionServiceImpl.findReady(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
HarvestScheduler.addThread(Context context,
HarvestedCollection harvestedCollection)
Adds a thread to the ready stack.
|
void |
HarvestedCollectionServiceImpl.delete(Context context,
HarvestedCollection harvestedCollection) |
boolean |
HarvestedCollectionServiceImpl.isHarvestable(HarvestedCollection harvestedCollection) |
boolean |
HarvestedCollectionServiceImpl.isReady(HarvestedCollection harvestedCollection) |
void |
HarvestedCollectionServiceImpl.update(Context context,
HarvestedCollection harvestedCollection) |
| Constructor and Description |
|---|
OAIHarvester(Context c,
DSpaceObject dso,
HarvestedCollection hc) |
| Modifier and Type | Method and Description |
|---|---|
HarvestedCollection |
HarvestedCollectionDAO.findByCollection(Context context,
Collection collection) |
HarvestedCollection |
HarvestedCollectionDAO.findByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context,
int status,
int type,
int limit) |
HarvestedCollection |
HarvestedCollectionDAO.findByStatusAndMinimalTypeOrderByLastHarvestedDesc(Context context,
int status,
int type,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
List<HarvestedCollection> |
HarvestedCollectionDAO.findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context,
Date startTime,
int minimalType,
int[] statuses,
int expirationStatus,
Date expirationTime) |
List<HarvestedCollection> |
HarvestedCollectionDAO.findByStatus(Context context,
int status) |
| Modifier and Type | Method and Description |
|---|---|
HarvestedCollection |
HarvestedCollectionDAOImpl.findByCollection(Context context,
Collection collection) |
HarvestedCollection |
HarvestedCollectionDAOImpl.findByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context,
int status,
int type,
int limit) |
HarvestedCollection |
HarvestedCollectionDAOImpl.findByStatusAndMinimalTypeOrderByLastHarvestedDesc(Context context,
int status,
int type,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
List<HarvestedCollection> |
HarvestedCollectionDAOImpl.findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context,
Date startTime,
int minimalType,
int[] statuses,
int expirationStatus,
Date expirationTime) |
List<HarvestedCollection> |
HarvestedCollectionDAOImpl.findByStatus(Context context,
int status) |
| Modifier and Type | Method and Description |
|---|---|
HarvestedCollection |
HarvestedCollectionService.create(Context context,
Collection collection)
Create a new harvest instance row for a specified collection.
|
HarvestedCollection |
HarvestedCollectionService.find(Context context,
Collection collection)
Find the harvest settings corresponding to this collection
|
HarvestedCollection |
HarvestedCollectionService.findNewestHarvest(Context context)
Find the collection that was harvested most recently.
|
HarvestedCollection |
HarvestedCollectionService.findOldestHarvest(Context context)
Find the collection that was harvested the longest time ago.
|
| Modifier and Type | Method and Description |
|---|---|
List<HarvestedCollection> |
HarvestedCollectionService.findAll(Context context)
Find all collections that are set up for harvesting
return: list of collection id's
|
List<HarvestedCollection> |
HarvestedCollectionService.findByStatus(Context context,
int status)
Find all collections with the specified status flag.
|
List<HarvestedCollection> |
HarvestedCollectionService.findReady(Context context)
Find all collections that are ready for harvesting
return: list of collection id's
|
| Modifier and Type | Method and Description |
|---|---|
void |
HarvestedCollectionService.delete(Context context,
HarvestedCollection harvestedCollection) |
boolean |
HarvestedCollectionService.isHarvestable(HarvestedCollection harvestedCollection)
Returns whether this harvest instance is actually harvestable, i.e.
|
boolean |
HarvestedCollectionService.isReady(HarvestedCollection harvestedCollection) |
void |
HarvestedCollectionService.update(Context context,
HarvestedCollection harvestedCollection) |
Copyright © 2016 DuraSpace. All rights reserved.