Interface EntityHistoryConfiguration
- All Known Implementing Classes:
DefaultEntityHistoryConfig
,LookupEntityHistoryConfig
,PageEntityHistoryConfiguration
public interface EntityHistoryConfiguration
Configuration that defines when a history snapshot is created for a certain entity and
what is included in the snapshot.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIncludedFields
(EntityModel entityModel) getIncludedRelations
(Entity centerEntity) boolean
int
priority()
boolean
supports
(EntityModel entityModel)
-
Method Details
-
supports
-
priority
int priority() -
isApplicableForHistory
- Returns:
- true if the given event should trigger the creation of a history entry
-
getIncludedFields
- Returns:
- which fields should be included in the history snapshot for the given entity model
-
getIncludedRelations
- Returns:
- which relations should be included in the history snapshot for the given entity model
-