Introduction

Business

Development

Core

Entity Definitions

asciidoctor diagram ParagraphWidgetEntityDefinition

Spring Data JPA Repositories

ParagraphWidgetRepository

The ParagraphWidgetRepository extends the ActivatableRepository and the BaseEntityRepository:

asciidoctor diagram ParagraphWidgetRepository

This is the corresponding Spring Data JPA repository for the ParagraphWidgetEntityDefinition.

Facade

MapperFactoryConfigurers

ParagraphWidgetMapperFactoryConfigurer

The ParagraphWidgetMapperFactoryConfigurer implements the MapperFactoryConfigurer, converting the ParagraphWidgetEntityDefinition to ParagraphWidgetDtoDefinition:

asciidoctor diagram ParagraphWidgetMapperFactoryConfigurer

The conversion is done via the byDefault() method.

More about the mapping configurations you may read in the respective Orika guide.

Dto definitions

ParagraphWidgetDtoDefinition

The ParagraphWidgetDtoDefinition extends the WidgetDtoDefinition, going further to the AbstractEntityDtoDefinition:

asciidoctor diagram ParagraphWidgetDtoDefinition

This is the corresponding Dto object for the ParagraphWidgetEntityDefinition.

Storefront

ParagraphWidgetRenderer

The ParagraphWidgetRenderer extends the AbstractWidgetRenderer:

asciidoctor diagram ParagraphWidgetRenderer

Integration

The integration with the Nemesis platform is pretty straight-forward - just need to add the widget in your classpath:

<dependency>
    <groupId>io.nemesis.platform.module.widget</groupId>
    <artifactId>nemesis-widget-paragraph</artifactId>
</dependency>