Package org.dspace.checker.dao
Interface MostRecentChecksumDAO
- All Superinterfaces:
GenericDAO<MostRecentChecksum>
- All Known Implementing Classes:
MostRecentChecksumDAOImpl
Database Access Object interface class for the MostRecentChecksum object.
The implementation of this class is responsible for all database calls for the MostRecentChecksum 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
Modifier and TypeMethodDescriptionvoiddeleteByBitstream(Context context, Bitstream bitstream) findByBitstream(Context context, Bitstream bitstream) findByNotProcessedInDateRange(Context context, Instant startDate, Instant endDate) findByResultTypeInDateRange(Context context, Instant startDate, Instant endDate, ChecksumResultCode resultCode) findNotInHistory(Context context) getOldestRecord(Context context) getOldestRecord(Context context, Instant lessThanDate)
-
Method Details
-
findByNotProcessedInDateRange
List<MostRecentChecksum> findByNotProcessedInDateRange(Context context, Instant startDate, Instant endDate) throws SQLException - Throws:
SQLException
-
findByResultTypeInDateRange
List<MostRecentChecksum> findByResultTypeInDateRange(Context context, Instant startDate, Instant endDate, ChecksumResultCode resultCode) throws SQLException - Throws:
SQLException
-
deleteByBitstream
- Throws:
SQLException
-
getOldestRecord
- Throws:
SQLException
-
getOldestRecord
- Throws:
SQLException
-
findNotInHistory
- Throws:
SQLException
-
findByBitstream
- Throws:
SQLException
-