public class SnapshotDiffer extends Object
| Constructor and Description |
|---|
SnapshotDiffer(JaversExtendedRepository javersExtendedRepository,
GraphShadowFactory graphShadowFactory,
DiffFactory diffFactory) |
| Modifier and Type | Method and Description |
|---|---|
List<Change> |
getChangeHistory(GlobalIdDTO globalCdoId,
int limit)
Changes (diff sequence) of given managed class instance, in reverse chronological order
|
List<Change> |
getChangeHistory(Object localId,
Class entityClass,
int limit)
Changes (diff sequence) of given entity instance, in reverse chronological order
|
public SnapshotDiffer(JaversExtendedRepository javersExtendedRepository, GraphShadowFactory graphShadowFactory, DiffFactory diffFactory)
public List<Change> getChangeHistory(Object localId, Class entityClass, int limit)
JaversException - ENTITY_EXPECTED if given javaClass is NOT mapped to Entitypublic List<Change> getChangeHistory(GlobalIdDTO globalCdoId, int limit)
Copyright © 2014. All rights reserved.