Class AnonymizeEntityHistoryTask

java.lang.Object
ch.tocco.nice2.optional.anonymization.impl.task.AnonymizeEntityHistoryTask
All Implemented Interfaces:
OptionalTask<Entity,Entity>, PersistTask<Entity,Entity>

public class AnonymizeEntityHistoryTask extends Object implements OptionalTask<Entity,Entity>
Replaces all history entries of a given entity with an empty entry. The Operation is set to Operation.TRUNCATED so that it is obvious that the history has been modified.