added imported flag

This commit is contained in:
Timo Bejan 2022-02-11 11:33:34 +02:00
parent 143f4cfb0d
commit de92117b35
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,8 @@ public class RedactionLogEntry {
private boolean rectangle; private boolean rectangle;
private String legalBasis; private String legalBasis;
private boolean imported;
private boolean redacted; private boolean redacted;
private boolean isHint; private boolean isHint;
private boolean isRecommendation; private boolean isRecommendation;

View File

@ -50,6 +50,7 @@ public class ImportedRedactionService {
RedactionLogEntry redactionLogEntry = RedactionLogEntry.builder() RedactionLogEntry redactionLogEntry = RedactionLogEntry.builder()
.id(importedRedaction.getId()) .id(importedRedaction.getId())
.type(IMPORTED_REDACTION_TYPE) .type(IMPORTED_REDACTION_TYPE)
.imported(true)
.redacted(true) .redacted(true)
.positions(importedRedaction.getPositions()) .positions(importedRedaction.getPositions())
.color(getColor("imported_redaction", dossierTemplateId)) .color(getColor("imported_redaction", dossierTemplateId))