Uses of Interface
io.fluxcapacitor.javaclient.modeling.Entity
Packages that use Entity
Package
Description
-
Uses of Entity in io.fluxcapacitor.javaclient
Methods in io.fluxcapacitor.javaclient that return EntityModifier and TypeMethodDescriptionstatic <T> Entity<T>FluxCapacitor.loadAggregate(Id<T> aggregateId) Loads the aggregate root of type<T>with given aggregateId.static <T> Entity<T>FluxCapacitor.loadAggregate(Object aggregateId, Class<T> aggregateType) Loads the aggregate root of type<T>with given aggregateId.static <T> Entity<T>FluxCapacitor.loadAggregateFor(Object entityId) Loads the aggregate root that currently contains the entity with given entityId.static <T> Entity<T>FluxCapacitor.loadAggregateFor(Object entityId, Class<?> defaultType) Loads the aggregate root of type<T>that currently contains the entity with given entityId.static <T> Entity<T>FluxCapacitor.loadEntity(Id<T> entityId) Loads the entity with given id.static <T> Entity<T>FluxCapacitor.loadEntity(Object entityId) Loads the entity with given id. -
Uses of Entity in io.fluxcapacitor.javaclient.modeling
Subinterfaces of Entity in io.fluxcapacitor.javaclient.modelingClasses in io.fluxcapacitor.javaclient.modeling that implement EntityFields in io.fluxcapacitor.javaclient.modeling declared as EntityMethods in io.fluxcapacitor.javaclient.modeling that return EntityModifier and TypeMethodDescriptionEntity.apply(DeserializingMessage eventMessage) Entity.apply(Collection<?> events) ImmutableAggregateRoot.apply(DeserializingMessage message) ImmutableEntity.apply(DeserializingMessage message) Entity.assertAndApply(Object payloadOrMessage) Entity.assertAndApply(Object... events) Entity.assertAndApply(Object payload, Metadata metadata) Entity.assertAndApply(Collection<?> events) ModifiableAggregateRoot.assertAndApply(Object payloadOrMessage) ModifiableEntity.assertAndApply(Object payloadOrMessage) Entity.assertLegal(Object command) ImmutableEntity.assertLegal(Object command) LazyAggregateRoot.assertLegal(Object command) ModifiableAggregateRoot.assertLegal(Object command) ModifiableEntity.assertLegal(Object command) Entity.assertThat(Entity.Validator<T, E> validator) Entity<?>HasEntity.getEntity()LazyAggregateRoot.getLastCheckpoint()protected Entity<?>EntityParameterResolver.getMatchingEntity(Object input, Parameter parameter) Entity.ifPresent(UnaryOperator<Entity<T>> action) static <T> Entity<T>ModifiableAggregateRoot.load(Object aggregateId, Supplier<Entity<T>> loader, boolean commitInBatch, EventPublication eventPublication, EntityHelper entityHelper, Serializer serializer, DispatchInterceptor dispatchInterceptor, ModifiableAggregateRoot.CommitHandler commitHandler) default Entity<?>AggregateRoot.parent()Entity<?>DelegatingEntity.parent()Entity<?>Entity.parent()Entity<?>ModifiableEntity.parent()Entity<?>NoOpEntity.parent()Entity.playBackToEvent(String eventId) AggregateRoot.previous()DelegatingEntity.previous()Entity.previous()LazyAggregateRoot.previous()ModifiableAggregateRoot.previous()ModifiableEntity.previous()NoOpEntity.previous()default Entity<?>Entity.root()Entity.update(UnaryOperator<T> function) ImmutableAggregateRoot.update(UnaryOperator<T> function) ImmutableEntity.update(UnaryOperator<T> function) LazyAggregateRoot.update(UnaryOperator<T> function) ModifiableAggregateRoot.update(UnaryOperator<T> function) ModifiableEntity.update(UnaryOperator<T> function) NoOpEntity.update(UnaryOperator<T> function) AggregateRoot.withEventIndex(Long index, String messageId) DelegatingEntity.withEventIndex(Long index, String messageId) Entity.withEventIndex(Long index, String messageId) ImmutableAggregateRoot.withEventIndex(Long index, String messageId) LazyAggregateRoot.withEventIndex(Long index, String messageId) AggregateRoot.withSequenceNumber(long sequenceNumber) DelegatingEntity.withSequenceNumber(long sequenceNumber) Entity.withSequenceNumber(long sequenceNumber) ImmutableAggregateRoot.withSequenceNumber(long sequenceNumber) LazyAggregateRoot.withSequenceNumber(long sequenceNumber) Methods in io.fluxcapacitor.javaclient.modeling that return types with arguments of type EntityModifier and TypeMethodDescriptionEntity.allEntities()Collection<? extends Entity<?>>DelegatingEntity.entities()Collection<? extends Entity<?>>Entity.entities()Collection<? extends Entity<?>>LazyAggregateRoot.entities()Collection<? extends Entity<?>>ModifiableAggregateRoot.entities()Collection<? extends Entity<?>>ModifiableEntity.entities()Collection<? extends Entity<?>>NoOpEntity.entities()Entity.playBackToCondition(Predicate<Entity<T>> condition) Entity.possibleTargets(Object payload) Methods in io.fluxcapacitor.javaclient.modeling with parameters of type EntityModifier and TypeMethodDescriptionDefaultEntityHelper.applyInvoker(DeserializingMessage event, Entity<?> entity) EntityHelper.applyInvoker(DeserializingMessage message, Entity<?> entity) <E extends Exception>
voidDefaultEntityHelper.assertLegal(Object value, Entity<?> entity) <E extends Exception>
voidEntityHelper.assertLegal(Object value, Entity<?> entity) default Set<Relationship>Entity.associations(Entity<?> previous) DefaultEntityHelper.checkLegality(Object value, Entity<?> entity) EntityHelper.checkLegality(Object value, Entity<?> entity) default Set<Relationship>Entity.dissociations(Entity<?> previous) static <T> ImmutableAggregateRoot<T>ImmutableAggregateRoot.from(Entity<T> a, EntityHelper entityHelper, Serializer serializer, EventStore eventStore) Stream<? extends ImmutableEntity<?>>AnnotatedEntityHolder.getEntities(Entity<?> parent) voidModifiableAggregateRoot.CommitHandler.handle(Entity<?> model, List<DeserializingMessage> unpublished, Entity<?> beforeUpdate) Stream<?>Stream<?>protected booleanEntityParameterResolver.isAssignable(Parameter parameter, Entity<?> entity) booleanbooleanprotected booleanprotected Supplier<?>AnnotatedEntityHolder.updateOwner(Object owner, Entity<?> before, Entity<?> after) DefaultEntityHelper.MessageWithEntity.withEntity(Entity<?> entity) Method parameters in io.fluxcapacitor.javaclient.modeling with type arguments of type EntityModifier and TypeMethodDescriptionprotected voidModifiableAggregateRoot.handleUpdate(UnaryOperator<Entity<T>> update) Entity.ifPresent(UnaryOperator<Entity<T>> action) static <T> Entity<T>ModifiableAggregateRoot.load(Object aggregateId, Supplier<Entity<T>> loader, boolean commitInBatch, EventPublication eventPublication, EntityHelper entityHelper, Serializer serializer, DispatchInterceptor dispatchInterceptor, ModifiableAggregateRoot.CommitHandler commitHandler) default <U> Optional<U>Entity.mapIfPresent(Function<Entity<T>, U> action) Entity.playBackToCondition(Predicate<Entity<T>> condition) Constructors in io.fluxcapacitor.javaclient.modeling with parameters of type EntityModifierConstructorDescriptionDelegatingEntity(@NonNull Entity<T> delegate) DeserializingMessageWithEntity(DeserializingMessage message, Entity<?> entity) MessageWithEntity(Object payload, Entity<?> entity) protectedModifiableAggregateRoot(Entity<T> delegate, boolean commitInBatch, EventPublication eventPublication, EntityHelper entityHelper, Serializer serializer, DispatchInterceptor dispatchInterceptor, ModifiableAggregateRoot.CommitHandler commitHandler) ModifiableEntity(Entity<T> delegate, ModifiableAggregateRoot<?> root) -
Uses of Entity in io.fluxcapacitor.javaclient.persisting.eventsourcing
Methods in io.fluxcapacitor.javaclient.persisting.eventsourcing that return types with arguments of type EntityModifier and TypeMethodDescriptionDefaultSnapshotStore.getSnapshot(Object aggregateId) NoOpSnapshotStore.getSnapshot(Object aggregateId) SnapshotStore.getSnapshot(Object aggregateId) Methods in io.fluxcapacitor.javaclient.persisting.eventsourcing with parameters of type EntityModifier and TypeMethodDescriptionbooleanNoSnapshotTrigger.shouldCreateSnapshot(Entity<?> model, List<DeserializingMessage> newEvents) booleanPeriodicSnapshotTrigger.shouldCreateSnapshot(Entity<?> model, List<DeserializingMessage> newEvents) booleanSnapshotTrigger.shouldCreateSnapshot(Entity<?> model, List<DeserializingMessage> newEvents) <T> voidDefaultSnapshotStore.storeSnapshot(Entity<T> snapshot) <T> voidNoOpSnapshotStore.storeSnapshot(Entity<T> snapshot) <T> voidSnapshotStore.storeSnapshot(Entity<T> snapshot) -
Uses of Entity in io.fluxcapacitor.javaclient.persisting.repository
Methods in io.fluxcapacitor.javaclient.persisting.repository that return EntityModifier and TypeMethodDescriptionDefaultAggregateRepository.AnnotatedAggregateRepository.eventSourceModel(Entity<T> model) <T> Entity<T>default <T> Entity<T><T> Entity<T><T> Entity<T><T> Entity<T><T> Entity<T><T> Entity<T>DefaultAggregateRepository.AnnotatedAggregateRepository.loadSnapshot(Object id) Methods in io.fluxcapacitor.javaclient.persisting.repository with parameters of type EntityModifier and TypeMethodDescriptionvoidDefaultAggregateRepository.AnnotatedAggregateRepository.commit(Entity<?> after, List<DeserializingMessage> unpublishedEvents, Entity<?> before) DefaultAggregateRepository.AnnotatedAggregateRepository.eventSourceModel(Entity<T> model) AggregateRepository.repairRelationships(Entity<?> aggregate) CachingAggregateRepository.repairRelationships(Entity<?> aggregate) DefaultAggregateRepository.repairRelationships(Entity<?> aggregate) protected voidCachingAggregateRepository.updateRelationships(Entity<?> before, Entity<?> after)