Package org.dspace.checker.dao
Interface MostRecentChecksumDAO
-
- All Superinterfaces:
GenericDAO<MostRecentChecksum>
- All Known Implementing Classes:
MostRecentChecksumDAOImpl
public interface MostRecentChecksumDAO extends GenericDAO<MostRecentChecksum>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteByBitstream(Context context, Bitstream bitstream)MostRecentChecksumfindByBitstream(Context context, Bitstream bitstream)List<MostRecentChecksum>findByNotProcessedInDateRange(Context context, Date startDate, Date endDate)List<MostRecentChecksum>findByResultTypeInDateRange(Context context, Date startDate, Date endDate, ChecksumResultCode resultCode)List<MostRecentChecksum>findNotInHistory(Context context)MostRecentChecksumgetOldestRecord(Context context)MostRecentChecksumgetOldestRecord(Context context, Date lessThanDate)-
Methods inherited from interface org.dspace.core.GenericDAO
create, delete, findAll, findAll, findByID, findByID, findMany, findUnique, save
-
-
-
-
Method Detail
-
findByNotProcessedInDateRange
List<MostRecentChecksum> findByNotProcessedInDateRange(Context context, Date startDate, Date endDate) throws SQLException
- Throws:
SQLException
-
findByResultTypeInDateRange
List<MostRecentChecksum> findByResultTypeInDateRange(Context context, Date startDate, Date endDate, ChecksumResultCode resultCode) throws SQLException
- Throws:
SQLException
-
deleteByBitstream
void deleteByBitstream(Context context, Bitstream bitstream) throws SQLException
- Throws:
SQLException
-
getOldestRecord
MostRecentChecksum getOldestRecord(Context context) throws SQLException
- Throws:
SQLException
-
getOldestRecord
MostRecentChecksum getOldestRecord(Context context, Date lessThanDate) throws SQLException
- Throws:
SQLException
-
findNotInHistory
List<MostRecentChecksum> findNotInHistory(Context context) throws SQLException
- Throws:
SQLException
-
findByBitstream
MostRecentChecksum findByBitstream(Context context, Bitstream bitstream) throws SQLException
- Throws:
SQLException
-
-