| Package | Description |
|---|---|
| org.fuin.ddd4j.ddd | |
| org.fuin.ddd4j.esrepo |
Copyright (C) 2015 Michael Schnell.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAggregateRoot<ID extends AggregateRootId>
Base class for aggregate roots.
|
class |
AbstractEntity<ROOT_ID extends AggregateRootId,ROOT extends AbstractAggregateRoot<ROOT_ID>,ID extends EntityId>
Base class for entities.
|
interface |
AggregateRoot<ID extends AggregateRootId>
Dedicated entity of a group of entities (The group is called "Aggregate") that guarantees the consistency of changes being made within
the group by forbidding external objects from holding direct references to its members.
|
interface |
Repository<ID extends AggregateRootId,T extends AggregateRoot<ID>>
Repository that supports CRUD operations for an aggregate.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AggregateRootUuid
UUID based aggregate root identifier.
|
| Modifier and Type | Method and Description |
|---|---|
AGGREGATE |
AggregateNoCache.get(AggregateRootId aggregateId,
java.lang.Integer version) |
AGGREGATE |
AggregateCache.get(@NotNull AggregateRootId aggregateId,
java.lang.Integer version)
Tries to read the aggregate with the given identifier from the cache.
|
void |
AggregateNoCache.put(AggregateRootId aggregateId,
AGGREGATE aggregate) |
void |
AggregateCache.put(@NotNull AggregateRootId aggregateId,
AGGREGATE aggregate)
Puts an aggregate with the given identifier in the cache.
|
void |
AggregateNoCache.remove(AggregateRootId aggregateId) |
void |
AggregateCache.remove(@NotNull AggregateRootId aggregateId)
Removes the aggregate with the given identifier from the cache.
|
| Constructor and Description |
|---|
AggregateAlreadyExistsException(@NotNull EntityType aggregateType,
@NotNull AggregateRootId aggregateId,
int version)
Constructor with all data.
|
AggregateDeletedException(@NotNull EntityType aggregateType,
@NotNull AggregateRootId aggregateId)
Constructor with all data.
|
AggregateNotFoundException(@NotNull EntityType aggregateType,
@NotNull AggregateRootId aggregateId)
Constructor with all data.
|
AggregateVersionConflictException(@NotNull EntityType aggregateType,
@NotNull AggregateRootId aggregateId,
int expected,
int actual)
Constructor with all data.
|
AggregateVersionNotFoundException(@NotNull EntityType aggregateType,
@NotNull AggregateRootId aggregateId,
int version)
Constructor with all data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EventStoreRepository<ID extends AggregateRootId,AGGREGATE extends AggregateRoot<ID>>
Event store based repository.
|
| Constructor and Description |
|---|
AggregateStreamId(EntityType type,
java.lang.String paramName,
AggregateRootId paramValue)
Constructor with type and id.
|
Copyright © 2019 fuin.org (Germany). All Rights Reserved.