public abstract class AbstractJdbcAggregateCrud
extends java.lang.Object
implements io.eventuate.javaclient.commonimpl.sync.AggregateCrud
Modifier and Type | Field and Description |
---|---|
protected EventuateJdbcAccess |
eventuateJdbcAccess |
Constructor and Description |
---|
AbstractJdbcAggregateCrud(EventuateJdbcAccess eventuateJdbcAccess) |
Modifier and Type | Method and Description |
---|---|
<T extends Aggregate<T>> |
find(java.lang.String aggregateType,
java.lang.String entityId,
java.util.Optional<io.eventuate.javaclient.commonimpl.AggregateCrudFindOptions> findOptions) |
protected void |
publish(PublishableEvents publishableEvents) |
io.eventuate.javaclient.commonimpl.EntityIdVersionAndEventIds |
save(java.lang.String aggregateType,
java.util.List<io.eventuate.javaclient.commonimpl.EventTypeAndData> events,
java.util.Optional<io.eventuate.javaclient.commonimpl.AggregateCrudSaveOptions> options) |
io.eventuate.javaclient.commonimpl.EntityIdVersionAndEventIds |
update(EntityIdAndType entityIdAndType,
io.eventuate.common.id.Int128 entityVersion,
java.util.List<io.eventuate.javaclient.commonimpl.EventTypeAndData> events,
java.util.Optional<io.eventuate.javaclient.commonimpl.AggregateCrudUpdateOptions> updateOptions) |
protected EventuateJdbcAccess eventuateJdbcAccess
public AbstractJdbcAggregateCrud(EventuateJdbcAccess eventuateJdbcAccess)
protected void publish(PublishableEvents publishableEvents)
public io.eventuate.javaclient.commonimpl.EntityIdVersionAndEventIds save(java.lang.String aggregateType, java.util.List<io.eventuate.javaclient.commonimpl.EventTypeAndData> events, java.util.Optional<io.eventuate.javaclient.commonimpl.AggregateCrudSaveOptions> options)
save
in interface io.eventuate.javaclient.commonimpl.sync.AggregateCrud
public <T extends Aggregate<T>> io.eventuate.javaclient.commonimpl.LoadedEvents find(java.lang.String aggregateType, java.lang.String entityId, java.util.Optional<io.eventuate.javaclient.commonimpl.AggregateCrudFindOptions> findOptions)
find
in interface io.eventuate.javaclient.commonimpl.sync.AggregateCrud
public io.eventuate.javaclient.commonimpl.EntityIdVersionAndEventIds update(EntityIdAndType entityIdAndType, io.eventuate.common.id.Int128 entityVersion, java.util.List<io.eventuate.javaclient.commonimpl.EventTypeAndData> events, java.util.Optional<io.eventuate.javaclient.commonimpl.AggregateCrudUpdateOptions> updateOptions)
update
in interface io.eventuate.javaclient.commonimpl.sync.AggregateCrud