Package io.jmix.audit.snapshot.impl
Class EntityDifferenceManagerImpl
java.lang.Object
io.jmix.audit.snapshot.impl.EntityDifferenceManagerImpl
- All Implemented Interfaces:
EntityDifferenceManager
@Component("audit_EntityDifferenceManager")
public class EntityDifferenceManagerImpl
extends Object
implements EntityDifferenceManager
-
Constructor Summary
ConstructorDescriptionEntityDifferenceManagerImpl
(EntitySnapshotManager entitySnapshotManager, FetchPlans fetchPlans, Metadata metadata, ExtendedEntities extendedEntities, MetadataTools metadataTools, InstanceNameProvider instanceNameProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetDifference
(EntitySnapshotModel first, EntitySnapshotModel second) Diff two versions of entity
-
Constructor Details
-
EntityDifferenceManagerImpl
public EntityDifferenceManagerImpl(EntitySnapshotManager entitySnapshotManager, FetchPlans fetchPlans, Metadata metadata, ExtendedEntities extendedEntities, MetadataTools metadataTools, InstanceNameProvider instanceNameProvider)
-
-
Method Details
-
getDifference
public EntityDifferenceModel getDifference(@Nullable EntitySnapshotModel first, @Nullable EntitySnapshotModel second) Description copied from interface:EntityDifferenceManager
Diff two versions of entity- Specified by:
getDifference
in interfaceEntityDifferenceManager
- Parameters:
first
- First versionsecond
- Second version- Returns:
- Diffs
-