| Package | Description |
|---|---|
| org.fuin.ddd4j.ddd | |
| org.fuin.ddd4j.esrepo |
Copyright (C) 2015 Michael Schnell.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Repository.add(T aggregate)
Adds a new aggregate to the repository without any meta data.
|
void |
Repository.add(T aggregate,
java.lang.String metaType,
java.lang.Object metaData)
Adds a new aggregate to the repository with some meta data.
|
T |
Repository.read(ID id)
Reads the latest version of an aggregate.
|
T |
Repository.read(ID id,
int version)
Reads a given version of an aggregate.
|
void |
Repository.update(T aggregate)
Saves the changes on an aggregate in the repository without any meta data.
|
void |
Repository.update(T aggregate,
java.lang.String metaType,
java.lang.Object metaData)
Saves the changes on an aggregate in the repository including some meta data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventStoreRepository.add(AGGREGATE aggregate) |
void |
EventStoreRepository.add(AGGREGATE aggregate,
java.lang.String metaType,
java.lang.Object metaData) |
AGGREGATE |
EventStoreRepository.read(ID aggregateId) |
AGGREGATE |
EventStoreRepository.read(ID aggregateId,
int version) |
void |
EventStoreRepository.update(AGGREGATE aggregate) |
void |
EventStoreRepository.update(AGGREGATE aggregate,
java.lang.String metaType,
java.lang.Object metaData) |
Copyright © 2019 fuin.org (Germany). All Rights Reserved.