Class PageEntityHistoryConfiguration
java.lang.Object
ch.tocco.nice2.optional.cms.impl.history.PageEntityHistoryConfiguration
- All Implemented Interfaces:
- EntityHistoryConfiguration
@Component
@Deprecated
public class PageEntityHistoryConfiguration
extends Object
implements EntityHistoryConfiguration
Deprecated.
Custom history configuration for 'Page' entities.
 A history entry will only be created when the Page is published.
 Also, additional related entities are included in the history snapshot.
- 
Nested Class SummaryNested classes/interfaces inherited from interface ch.tocco.nice2.persist.history.api.v2.EntityHistoryConfigurationEntityHistoryConfiguration.RelationDefinition
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetIncludedFields(EntityModel entityModel) Deprecated.getIncludedRelations(Entity page) Deprecated.booleanDeprecated.intpriority()Deprecated.booleansupports(EntityModel entityModel, boolean isRootEntity) Deprecated.
- 
Constructor Details- 
PageEntityHistoryConfigurationpublic PageEntityHistoryConfiguration()Deprecated.
 
- 
- 
Method Details- 
supportsDeprecated.- Specified by:
- supportsin interface- EntityHistoryConfiguration
- Returns:
- true if EntityHistoryConfigurationsupports this entity model. `isRootEntity` is used to distinguish between a lookup entity itself is changed and the full xml should be generated or a related entity is changed and only some fields should be in the xml.
 
- 
prioritypublic int priority()Deprecated.- Specified by:
- priorityin interface- EntityHistoryConfiguration
 
- 
isApplicableForHistoryDeprecated.- Specified by:
- isApplicableForHistoryin interface- EntityHistoryConfiguration
- Returns:
- true if the given event should trigger the creation of a history entry
 
- 
getIncludedFieldsDeprecated.- Specified by:
- getIncludedFieldsin interface- EntityHistoryConfiguration
- Returns:
- which fields should be included in the history snapshot for the given entity model
 
- 
getIncludedRelationsDeprecated.- Specified by:
- getIncludedRelationsin interface- EntityHistoryConfiguration
- Returns:
- which relations should be included in the history snapshot for the given entity model
 
 
-