public interface EntityAuditHandler
Modifier and Type | Method and Description |
---|---|
void |
auditDelete(Entity<?,?> deletedEntity,
String description)
Audits an entity deletion.
|
void |
auditInsert(Entity<?,?> insertedEntity,
String description)
Audits an entity insertion.
|
void |
auditUpdate(Entity<?,?> oldEntity,
Set<FieldChange> fieldChanges,
String description)
Audits an entity change.
|
void auditInsert(Entity<?,?> insertedEntity, String description)
insertedEntity
- the inserted entity, never nulldescription
- the description provided as part of this insertion operation, can be nullvoid auditUpdate(Entity<?,?> oldEntity, Set<FieldChange> fieldChanges, String description)
oldEntity
- the previous state of the entity, never nullfieldChanges
- the new changes to the entity, never null but possibly emptydescription
- the description provided as part of this change operation, can be nullCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.