Add legal basis to redaction log entry
This commit is contained in:
parent
f0f748db1b
commit
8be59e4ddf
@ -19,6 +19,7 @@ public class ManualRedactionEntry {
|
|||||||
private String type;
|
private String type;
|
||||||
private String value;
|
private String value;
|
||||||
private String reason;
|
private String reason;
|
||||||
|
private String legalBasis;
|
||||||
private List<Rectangle> positions = new ArrayList<>();
|
private List<Rectangle> positions = new ArrayList<>();
|
||||||
private Status status;
|
private Status status;
|
||||||
private boolean addToDictionary;
|
private boolean addToDictionary;
|
||||||
|
|||||||
@ -18,6 +18,7 @@ public class RedactionLogEntry {
|
|||||||
private String type;
|
private String type;
|
||||||
private String value;
|
private String value;
|
||||||
private String reason;
|
private String reason;
|
||||||
|
private String legalBasis;
|
||||||
private boolean redacted;
|
private boolean redacted;
|
||||||
private boolean isHint;
|
private boolean isHint;
|
||||||
private String section;
|
private String section;
|
||||||
|
|||||||
@ -251,6 +251,7 @@ public class AnnotationHighlightService {
|
|||||||
.id(id)
|
.id(id)
|
||||||
.color(getColor(manualRedactionEntry.getType()))
|
.color(getColor(manualRedactionEntry.getType()))
|
||||||
.reason(manualRedactionEntry.getReason())
|
.reason(manualRedactionEntry.getReason())
|
||||||
|
.legalBasis(manualRedactionEntry.getLegalBasis())
|
||||||
.value(manualRedactionEntry.getValue())
|
.value(manualRedactionEntry.getValue())
|
||||||
.type(manualRedactionEntry.getType())
|
.type(manualRedactionEntry.getType())
|
||||||
.redacted(true)
|
.redacted(true)
|
||||||
@ -268,6 +269,7 @@ public class AnnotationHighlightService {
|
|||||||
return RedactionLogEntry.builder()
|
return RedactionLogEntry.builder()
|
||||||
.color(getColor(entity, false))
|
.color(getColor(entity, false))
|
||||||
.reason(entity.getRedactionReason())
|
.reason(entity.getRedactionReason())
|
||||||
|
.legalBasis(entity.getLegalBasis())
|
||||||
.value(entity.getWord())
|
.value(entity.getWord())
|
||||||
.type(entity.getType())
|
.type(entity.getType())
|
||||||
.redacted(entity.isRedaction())
|
.redacted(entity.isRedaction())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user