Class EntityHistoryConfig
java.lang.Object
ch.tocco.nice2.optional.entityhistory.api.EntityHistoryConfig
- All Implemented Interfaces:
HistoryConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildConfig
(ChildEntityHistoryConfig childConfig) getConfigForEntityName
(String entityName) boolean
void
setCondition
(String condition) void
setFieldsToTrack
(String fieldsToTrack) void
setHistoryRelatedEntityName
(String historyRelatedEntityName) void
setRelationsToTrack
(String relationsToTrack) void
setTrackDeletion
(boolean trackDeletion)
-
Constructor Details
-
EntityHistoryConfig
public EntityHistoryConfig()
-
-
Method Details
-
addChildConfig
-
setHistoryRelatedEntityName
-
getEntityName
- Specified by:
getEntityName
in interfaceHistoryConfig
-
setCondition
-
getCondition
- Specified by:
getCondition
in interfaceHistoryConfig
-
getFieldsToTrackSet
- Specified by:
getFieldsToTrackSet
in interfaceHistoryConfig
-
setFieldsToTrack
-
setRelationsToTrack
-
getRelationsToTrackSet
- Specified by:
getRelationsToTrackSet
in interfaceHistoryConfig
-
getPathToHistoryRelatedEntity
- Specified by:
getPathToHistoryRelatedEntity
in interfaceHistoryConfig
-
getConfigForEntityName
-
isTrackDeletion
public boolean isTrackDeletion()- Specified by:
isTrackDeletion
in interfaceHistoryConfig
-
setTrackDeletion
public void setTrackDeletion(boolean trackDeletion)
-