Class AnonymizeEntityHistoryTask
java.lang.Object
ch.tocco.nice2.optional.anonymization.impl.task.AnonymizeEntityHistoryTask
- All Implemented Interfaces:
OptionalTask<Entity,Entity>, PersistTask<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.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OptionalTask
runMethods inherited from interface PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
AnonymizeEntityHistoryTask
-
-
Method Details
-
doRun
- Specified by:
doRunin interfaceOptionalTask<Entity,Entity>
-