Package org.seedstack.business.assembler.dsl
Provides a fluent DSL to do advanced domain-object/DTO mapping operations.
-
Interface Summary Interface Description AssembleMultiple An element of theFluentAssemblerDSL allowing to assemble to multiple DTO in various forms (stream, list, set, array, ...).AssembleMultipleWithQualifier An element of theFluentAssemblerDSL allowing to assemble to multiple DTO in various forms (stream, list, set, array, ...) or specify the qualifier of the assembler to use.AssemblePage An element of theFluentAssemblerDSL allowing to assemble to aPageof multiple DTO.AssemblePageWithQualifier An element of theFluentAssemblerDSL allowing to assemble to aPageof multiple DTO or specify the qualifier of the assembler to use.AssembleSingle An element of theFluentAssemblerDSL allowing to assemble to a single DTO.AssembleSingleWithQualifier An element of theFluentAssemblerDSL allowing to assemble to a single DTO or specify the qualifier of the assembler to use.FluentAssembler FluentAssembler is a DSL aimed at automating the most frequent tasks that occurs when mapping aggregates to Data Transfer Objects (DTO) and back.MergeAs<T> Terminal operation of theFluentAssemblerDSL, allowing to choose the result of merging a DTO into multiple aggregates (stream, list, set, array, ...).MergeFromRepository<T> An element of theDSLallowing to specify whether the aggregates should be retrieved from a repository or created from a factory.MergeFromRepositoryOrFactory<T> An element of theDSLallowing to specify the behavior when aggregates cannot be found in the repository.MergeMultiple An element of theDSLallowing to merge multiple DTO into aggregates or tuples of aggregates.MergeMultipleWithQualifier An element of theDSLallowing to merge multiple DTO into aggregates or tuples of aggregates or specify the qualifier of the assembler to use.MergeSingle An element of theDSLallowing to merge one DTO into an aggregate or a tuple of aggregates.MergeSingleWithQualifier An element of theDSLallowing to merge one DTO into an aggregate or a tuple of aggregates or specify the qualifier of the assembler to use.