public final class BeatGeneratingAuditHandler extends Object implements EntityAuditHandler
Beat
s.Constructor and Description |
---|
BeatGeneratingAuditHandler(Registry serviceRegistry) |
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.
|
public BeatGeneratingAuditHandler(Registry serviceRegistry)
public void auditInsert(Entity<?,?> insertedEntity, String description)
EntityAuditHandler
auditInsert
in interface EntityAuditHandler
insertedEntity
- the inserted entity, never nulldescription
- the description provided as part of this insertion operation, can be nullpublic void auditUpdate(Entity<?,?> oldEntity, Set<FieldChange> fieldChanges, String description)
EntityAuditHandler
auditUpdate
in interface EntityAuditHandler
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 nullpublic void auditDelete(Entity<?,?> deletedEntity, String description)
EntityAuditHandler
auditDelete
in interface EntityAuditHandler
deletedEntity
- the deleted entity, never nulldescription
- the description provided as part of this deletion operation, can be nullCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.