public interface ChecksumHistoryDAO extends GenericDAO<ChecksumHistory>
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByBitstream(Context context,
Bitstream bitstream)
Delete all ChecksumHistory rows for the given Bitstream.
|
int |
deleteByDateAndCode(Context context,
Date retentionDate,
ChecksumResultCode checksumResultCode)
Delete all ChecksumHistory rows with retention date before the given and
the specified result code.
|
create, delete, findAll, findByID, findByID, findMany, findUnique, saveint deleteByDateAndCode(Context context, Date retentionDate, ChecksumResultCode checksumResultCode) throws SQLException
context - retentionDate - row must be older than this to be deleted.checksumResultCode - row must have this result to be deleted.SQLException - if database errorvoid deleteByBitstream(Context context, Bitstream bitstream) throws SQLException
context - bitstream - SQLException - if database errorCopyright © 2022 LYRASIS. All rights reserved.