Package org.dspace.checker.service
Interface MostRecentChecksumService
-
- All Known Implementing Classes:
MostRecentChecksumServiceImpl
public interface MostRecentChecksumServiceService interface class for the MostRecentChecksum object. The implementation of this class is responsible for all business logic calls for the MostRecentChecksum object and is autowired by spring- Author:
- kevinvandevelde at atmire.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteByBitstream(Context context, Bitstream bitstream)List<MostRecentChecksum>findBitstreamResultTypeReport(Context context, Date startDate, Date endDate, ChecksumResultCode resultCode)MostRecentChecksumfindByBitstream(Context context, Bitstream bitstream)List<MostRecentChecksum>findNotInHistory(Context context)List<MostRecentChecksum>findNotProcessedBitstreamsReport(Context context, Date startDate, Date endDate)MostRecentChecksumfindOldestRecord(Context context)MostRecentChecksumfindOldestRecord(Context context, Date lessThanDate)MostRecentChecksumgetNonPersistedObject()voidupdate(Context context, MostRecentChecksum mostRecentChecksum)voidupdateMissingBitstreams(Context context)
-
-
-
Method Detail
-
getNonPersistedObject
MostRecentChecksum getNonPersistedObject()
-
findByBitstream
MostRecentChecksum findByBitstream(Context context, Bitstream bitstream) throws SQLException
- Throws:
SQLException
-
findNotProcessedBitstreamsReport
List<MostRecentChecksum> findNotProcessedBitstreamsReport(Context context, Date startDate, Date endDate) throws SQLException
- Throws:
SQLException
-
findBitstreamResultTypeReport
List<MostRecentChecksum> findBitstreamResultTypeReport(Context context, Date startDate, Date endDate, ChecksumResultCode resultCode) throws SQLException
- Throws:
SQLException
-
updateMissingBitstreams
void updateMissingBitstreams(Context context) throws SQLException
- Throws:
SQLException
-
deleteByBitstream
void deleteByBitstream(Context context, Bitstream bitstream) throws SQLException
- Throws:
SQLException
-
findOldestRecord
MostRecentChecksum findOldestRecord(Context context) throws SQLException
- Throws:
SQLException
-
findOldestRecord
MostRecentChecksum findOldestRecord(Context context, Date lessThanDate) throws SQLException
- Throws:
SQLException
-
findNotInHistory
List<MostRecentChecksum> findNotInHistory(Context context) throws SQLException
- Throws:
SQLException
-
update
void update(Context context, MostRecentChecksum mostRecentChecksum) throws SQLException
- Throws:
SQLException
-
-