public interface AnonymisingComposite<BDO extends DataObject>
Composite
that support anonymisation.
These should be called from the AnonymisingFactory.anonymise()
method.
They can ALSO be used to erase the data for specific users within a production database for
data protection reasons.Modifier and Type | Method and Description |
---|---|
default void |
addEraseFields(java.util.Set<java.lang.String> fields)
Add to the set of fields that contain PII data
This can be used to generate an anonymising rule for history tables
|
void |
anonymise(BDO target) |
void anonymise(BDO target)
default void addEraseFields(java.util.Set<java.lang.String> fields)
fields
-