@Transactional(MillJpaRepoConfig.TRANSACTION_MANAGER_BEAN)
    @Override
    public BitIntegrityReport addReport(String account,
                                        String storeId,
                                        String spaceId,
                                        String reportSpaceId,
                                        String reportContentId,
                                        BitIntegrityReportResult result,
                                        Date completionDate) {
        BitIntegrityReport report = new BitIntegrityReport();
        report.setModified(new Date());
        report.setAccount(account);
        report.setStoreId(storeId);
        report.setSpaceId(spaceId);
        report.setReportSpaceId(reportSpaceId);
        report.setReportContentId(reportContentId);
        report.setCompletionDate(new Date());
        report.setResult(result);
        report.setDisplay(!result.equals(BitIntegrityReportResult.FAILURE));
        return this.bitReportRepo.saveAndFlush(report);
    }
@ Transactional ( MillJpaRepoConfig . TRANSACTION_MANAGER_BEAN ) @ Override public BitIntegrityReport addReport ( String account , String storeId , String spaceId , String reportSpaceId , String reportContentId , BitIntegrityReportResult result , Date completionDate ) { BitIntegrityReport report = new BitIntegrityReport ( ) ; report . setModified ( new Date ( ) ) ; report . setAccount ( account ) ; report . setStoreId ( storeId ) ; report . setSpaceId ( spaceId ) ; report . setReportSpaceId ( reportSpaceId ) ; report . setReportContentId ( reportContentId ) ; report . setCompletionDate ( new Date ( ) ) ; report . setResult ( result ) ; report . setDisplay ( ! result . equals ( BitIntegrityReportResult . FAILURE ) ) ; return this . bitReportRepo . saveAndFlush ( report ) ; }
/* (non-Javadoc)
@see org.duracloud.mill.bitlog.BitLogStore#addReport(java.lang.String, java.lang.String, java.lang.String,
java.lang.String, java.lang.String, org.duracloud.mill.bitlog.BitIntegrityResult, java.util.Date)