business
business copied to clipboard
Based on the Domain-Driven-Design approach, the business framework will help you structure and implement your business code cleanly and efficiently.
A new DSL operation like : ....collection("categories").any() | none() | all().... Could be implemented to support collection-specific queries.
Specification DSL only supports untyped properties. A new method should be added : ... property(String name, Class propertyClass) While not inherently type-safe, this would allow to retain type information in...
Entities or VO can sometimes hold factory methods for other objects. As such, they should have an easy access to the identity service. They should also have access to the...
Right now, FluentAssembler takes care of creating a new instance of the target Dto. There are cases that it may be handy to have some control over which object the...
FluentAssembler struggles with Tuples when one of the members of the tuple is an Array. When a tuple that has at least one variable length aggregate collection, (EX: A BookAggregate...
Currently, it is necessary to mark the identity field of an entity with `@Identity` for the business framework to recognize the field as the identity (thus avoiding the need to...
Data sorting in repositories is handled by an option that applies on the whole query but when pagination is involved, it means that sorting is only applied to the current...
Currently the business framework only provides synchronous events. We should complete the actual API or replace it to include asynchronous events. I'm not sure synchronous event make sense.
Suppose a Person aggregate and DTO : ```java public class Person extends BaseAggregateRoot { @Identity(handler = UUIDHandler.class) private UUID id; private String name; } ``` ```java public class PersonDTO {...