Package org.dspace.harvest.dao
Interface HarvestedCollectionDAO
-
- All Superinterfaces:
GenericDAO<HarvestedCollection>
- All Known Implementing Classes:
HarvestedCollectionDAOImpl
public interface HarvestedCollectionDAO extends GenericDAO<HarvestedCollection>
Database Access Object interface class for the HarvestedCollection object. The implementation of this class is responsible for all database calls for the HarvestedCollection object and is autowired by spring This class should only be accessed from a single service and should never be exposed outside of the API- Author:
- kevinvandevelde at atmire.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcount(Context context)HarvestedCollectionfindByCollection(Context context, Collection collection)List<HarvestedCollection>findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context, Date startTime, int minimalType, int[] statuses, int expirationStatus, Date expirationTime)List<HarvestedCollection>findByStatus(Context context, int status)HarvestedCollectionfindByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context, int status, int type, int limit)HarvestedCollectionfindByStatusAndMinimalTypeOrderByLastHarvestedDesc(Context context, int status, int type, int limit)-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByStatusAndMinimalTypeOrderByLastHarvestedDesc
HarvestedCollection findByStatusAndMinimalTypeOrderByLastHarvestedDesc(Context context, int status, int type, int limit) throws SQLException
- Throws:
SQLException
-
findByStatusAndMinimalTypeOrderByLastHarvestedAsc
HarvestedCollection findByStatusAndMinimalTypeOrderByLastHarvestedAsc(Context context, int status, int type, int limit) throws SQLException
- Throws:
SQLException
-
findByStatus
List<HarvestedCollection> findByStatus(Context context, int status) throws SQLException
- Throws:
SQLException
-
findByCollection
HarvestedCollection findByCollection(Context context, Collection collection) throws SQLException
- Throws:
SQLException
-
findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime
List<HarvestedCollection> findByLastHarvestedAndHarvestTypeAndHarvestStatusesAndHarvestTime(Context context, Date startTime, int minimalType, int[] statuses, int expirationStatus, Date expirationTime) throws SQLException
- Throws:
SQLException
-
count
int count(Context context) throws SQLException
- Throws:
SQLException
-
-