Class ChecksumHistoryDAOImpl

    • Constructor Detail

      • ChecksumHistoryDAOImpl

        protected ChecksumHistoryDAOImpl()
    • Method Detail

      • deleteByDateAndCode

        public int deleteByDateAndCode​(Context context,
                                       Date retentionDate,
                                       ChecksumResultCode resultCode)
                                throws SQLException
        Description copied from interface: ChecksumHistoryDAO
        Delete all ChecksumHistory rows with retention date before the given and the specified result code.
        Specified by:
        deleteByDateAndCode in interface ChecksumHistoryDAO
        Parameters:
        context - The relevant DSpace Context.
        retentionDate - row must be older than this to be deleted.
        resultCode - row must have this result to be deleted.
        Returns:
        number of rows deleted.
        Throws:
        SQLException - if database error