Pull request #342: added imported flag

Merge in RED/redaction-service from imported-redaction to master

* commit 'de92117b35fcc2f3979450027acf1f7edf04befa':
  added imported flag
This commit is contained in:
Timo Bejan 2022-02-11 11:41:32 +01:00
commit 77feedcc8e
2 changed files with 3 additions and 0 deletions

View File

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

View File

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