Introduction
Development
Core
Entity Definitions
The definitions in this module have id discriminators in the range 10-20. |
The NavigationBarWidgetEntityDefinition extends the WidgetEntityDefinition. The WidgetEntityDefinition
relies further on the extended AbstractEntityDefinition, AbstractActivatableEntityDefinition, AbstractCatalogableEntityDefinition, AbstractCmsEntityDefinition and AbstractFilterableEntityDefinition:

Via the respective getter-setter pairs, the following information can be retrieved/stored in the database:
Property | Description |
---|---|
wrapAfter |
stores the amount of navigation nodes after which the navigation bar must be wrapped |
links |
stores a list of links for the navigation bar |
navigationNode |
stores the navigation bar for the widget |
The NavigationNodeEntityDefinition extends the AbstractEntityDefinition, the AbstractCatalogableEntityDefinition and the AbstractFilterableEntityDefinition:

Via the respective getter-setter pairs, the following information can be retrieved/stored in the database:
Property | Description |
---|---|
title |
stores the title of the node |
links |
stores a list of |
paragraphs |
stores a list of |
children |
stores a list of |
Spring Data JPA Repositories
The NavigationBarWidgetRepository extends the ActivatableRepository and the BaseCatalogableEntityRepository:

This is the corresponding Spring Data JPA repository for the NavigationBarWidgetEntityDefinition
.
The NavigationNodeRepository extends the BaseCatalogableEntityRepository:

Facade
MapperFactoryConfigurers
The NavigationBarWidgetMapperFactoryConfigurer implements the MapperFactoryConfigurer, converting the NavigationBarWidgetEntityDefinition
to NavigationBarWidgetDtoDefinition
:

The conversion is customized.
The NavigationNodeMapperFactoryConfigurer implements the MapperFactoryConfigurer, converting the NavigationNodeEntityDefinition
to NavigationNodeDto
:

The conversion is customized.
Dto definitions
The NavigationBarWidgetDtoDefinition extends the WidgetDtoDefinition, going further to the AbstractEntityDtoDefinition:

This is the corresponding Dto object for the NavigationBarWidgetEntityDefinition
.
The NavigationNodeDto is the corresponding Dto object for the NavigationNodeEntityDefinition
.