| Package | Description |
|---|---|
| com.networknt.eventuate.common | |
| com.networknt.eventuate.common.impl | |
| com.networknt.eventuate.common.impl.sync | |
| com.networknt.eventuate.common.sync |
| Modifier and Type | Method and Description |
|---|---|
SaveOptions |
SaveOptions.withEventContext(EventContext eventContext) |
SaveOptions |
SaveOptions.withEventMetadata(Map<String,String> eventMetadata) |
SaveOptions |
SaveOptions.withId(Optional<String> entityId) |
SaveOptions |
SaveOptions.withId(String entityId) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events,
SaveOptions saveOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events,
Optional<SaveOptions> saveOptions) |
CompletableFuture<EntityWithIdAndVersion<T>> |
AggregateRepository.save(CT cmd,
Optional<SaveOptions> saveOptions)
Create a new Aggregate by processing a command and persisting the events
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events,
SaveOptions saveOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events,
Optional<SaveOptions> saveOptions) |
static Optional<AggregateCrudSaveOptions> |
AggregateCrudMapping.toAggregateCrudSaveOptions(Optional<SaveOptions> saveOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events,
SaveOptions saveOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStoreImpl.save(Class<T> clasz,
List<Event> events,
Optional<SaveOptions> saveOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events,
SaveOptions saveOptions) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Aggregate<T>> |
EventuateAggregateStore.save(Class<T> clasz,
List<Event> events,
Optional<SaveOptions> saveOptions) |
EntityWithIdAndVersion<T> |
AggregateRepository.save(CT cmd,
Optional<SaveOptions> saveOptions)
Create a new Aggregate by processing a command and persisting the events
|
Copyright © 2021. All rights reserved.