Uses of Class
dk.cloudcreate.essentials.components.eventsourced.aggregates.flex.FlexAggregate
Packages that use FlexAggregate
Package
Description
-
Uses of FlexAggregate in dk.cloudcreate.essentials.components.eventsourced.aggregates
Methods in dk.cloudcreate.essentials.components.eventsourced.aggregates with type parameters of type FlexAggregateModifier and TypeMethodDescriptionstatic <ID,EVENT_TYPE, AGGREGATE_TYPE extends FlexAggregate<ID, AGGREGATE_TYPE>>
EventsToPersist<ID,EVENT_TYPE> EventsToPersist.events(FlexAggregate<ID, AGGREGATE_TYPE> aggregate, EVENT_TYPE... eventsToPersist) Wrap the events that should be persisted relates to the given aggregate's command handlingstatic <ID,EVENT_TYPE, AGGREGATE_TYPE extends FlexAggregate<ID, AGGREGATE_TYPE>>
EventsToPersist<ID,EVENT_TYPE> EventsToPersist.noEvents(FlexAggregate<ID, AGGREGATE_TYPE> aggregate) Creates an emptyEventsToPersistwhich is handy for a commanded method didn't have a side-effect (e.g.Methods in dk.cloudcreate.essentials.components.eventsourced.aggregates with parameters of type FlexAggregateModifier and TypeMethodDescriptionstatic <ID,EVENT_TYPE, AGGREGATE_TYPE extends FlexAggregate<ID, AGGREGATE_TYPE>>
EventsToPersist<ID,EVENT_TYPE> EventsToPersist.events(FlexAggregate<ID, AGGREGATE_TYPE> aggregate, EVENT_TYPE... eventsToPersist) Wrap the events that should be persisted relates to the given aggregate's command handlingstatic <ID,EVENT_TYPE, AGGREGATE_TYPE extends FlexAggregate<ID, AGGREGATE_TYPE>>
EventsToPersist<ID,EVENT_TYPE> EventsToPersist.noEvents(FlexAggregate<ID, AGGREGATE_TYPE> aggregate) Creates an emptyEventsToPersistwhich is handy for a commanded method didn't have a side-effect (e.g. -
Uses of FlexAggregate in dk.cloudcreate.essentials.components.eventsourced.aggregates.flex
Classes in dk.cloudcreate.essentials.components.eventsourced.aggregates.flex with type parameters of type FlexAggregateModifier and TypeClassDescriptionclassFlexAggregate<ID,AGGREGATE_TYPE extends FlexAggregate<ID, AGGREGATE_TYPE>> Simple, easy and opinionated aggregate that allows you to apply events that don't have any requirements with regards to inheritance (i.e.interfaceFlexAggregateRepository<ID,AGGREGATE_TYPE extends FlexAggregate<ID, AGGREGATE_TYPE>> OpinionatedFlexAggregateRepository that's built to persist and load a specificFlexAggregatetype in combination withEventStore,EventStoreUnitOfWorkFactoryand aFlexAggregateRepository.static classFlexAggregateRepository.DefaultFlexAggregateRepository<ID,AGGREGATE_TYPE extends FlexAggregate<ID, AGGREGATE_TYPE>> Methods in dk.cloudcreate.essentials.components.eventsourced.aggregates.flex with type parameters of type FlexAggregateModifier and TypeMethodDescriptionstatic <CONFIG extends AggregateEventStreamConfiguration,ID, AGGREGATE_TYPE extends FlexAggregate<ID, AGGREGATE_TYPE>>
FlexAggregateRepository<ID,AGGREGATE_TYPE> FlexAggregateRepository.from(ConfigurableEventStore<CONFIG> eventStore, CONFIG aggregateEventStreamConfiguration, EventStoreUnitOfWorkFactory unitOfWorkFactory, Class<ID> aggregateIdType, Class<AGGREGATE_TYPE> aggregateImplementationType) Create aFlexAggregateRepository- theEventStorewill be configured with the suppliedeventStreamConfiguration.static <CONFIG extends AggregateEventStreamConfiguration,ID, AGGREGATE_TYPE extends FlexAggregate<ID, AGGREGATE_TYPE>>
FlexAggregateRepository<ID,AGGREGATE_TYPE> FlexAggregateRepository.from(ConfigurableEventStore<CONFIG> eventStore, AggregateType aggregateType, EventStoreUnitOfWorkFactory unitOfWorkFactory, Class<ID> aggregateIdType, Class<AGGREGATE_TYPE> aggregateImplementationType) Create aFlexAggregateRepository- if missing, theEventStorewill be configured with the defaultAggregateEventStreamConfigurationbased on theAggregateEventStreamConfigurationFactorythat theEventStore'sAggregateEventStreamPersistenceStrategyis configured with