| Package | Description |
|---|---|
| org.fuin.ddd4j.ddd | |
| org.fuin.ddd4j.esrepo |
Copyright (C) 2015 Michael Schnell.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDomainEvent<ID extends EntityId>
Base class for domain events.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.Class<? extends DomainEvent<?>>> |
AbstractAggregateRoot.getIgnoredEvents()
Returns a list of old / ignored events.
|
java.util.List<DomainEvent<?>> |
AbstractAggregateRoot.getUncommittedChanges() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractAggregateRoot.apply(@NotNull DomainEvent<?> event)
Applies the given new event.
|
protected void |
AbstractEntity.apply(@NotNull DomainEvent<?> event)
Applies the given new event.
|
boolean |
DomainEventExpectedEntityIdPathValidator.isValid(DomainEvent<?> value,
javax.validation.ConstraintValidatorContext context) |
void |
AbstractAggregateRoot.loadFromHistory(DomainEvent<?>... history) |
void |
AggregateRoot.loadFromHistory(DomainEvent<?>... history)
Loads the aggregate with historic events.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractAggregateRoot.loadFromHistory(java.util.List<DomainEvent<?>> history) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
EventStoreRepository.conflictsResolved(java.util.List<DomainEvent<?>> uncommittedChanges,
java.util.List<DomainEvent<?>> unseenEvents)
Checks if the uncommitted changes conflicts with unseen changes from the event store and tries to solve the problem.
|
protected boolean |
EventStoreRepository.conflictsResolved(java.util.List<DomainEvent<?>> uncommittedChanges,
java.util.List<DomainEvent<?>> unseenEvents)
Checks if the uncommitted changes conflicts with unseen changes from the event store and tries to solve the problem.
|
Copyright © 2019 fuin.org (Germany). All Rights Reserved.