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
Classes 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(Collection<?> events) Entity.assertAndApply(Object payloadOrMessage) Entity.assertAndApply(Object... events) Entity.assertAndApply(Object payload, Metadata metadata) Entity.assertAndApply(Collection<?> events) ModifiableEntity.assertAndApply(Object payloadOrMessage) Entity.assertLegal(Object command) ImmutableEntity.assertLegal(Object command) ModifiableEntity.assertLegal(Object command) ReadOnlyEntity.assertLegal(Object command) Entity.assertThat(Entity.Validator<T, E> validator) Entity<?>HasEntity.getEntity()protected Entity<?>EntityParameterResolver.getMatchingEntity(Object input, Parameter parameter) Entity.ifPresent(UnaryOperator<Entity<T>> action) Entity.makeReadOnly()Entity<?>DelegatingEntity.parent()Entity<?>Entity.parent()Entity<?>ModifiableEntity.parent()Entity<?>NoOpEntity.parent()Entity.playBackToEvent(String eventId) DelegatingEntity.previous()Entity.previous()ModifiableAggregateRoot.previous()ModifiableEntity.previous()NoOpEntity.previous()default Entity<?>Entity.root()Entity.update(UnaryOperator<T> function) ImmutableEntity.update(UnaryOperator<T> function) ModifiableEntity.update(UnaryOperator<T> function) NoOpEntity.update(UnaryOperator<T> function) ReadOnlyEntity.update(UnaryOperator<T> function) 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<?>>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) 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) 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) ModifiableEntity(Entity<T> delegate, ModifiableAggregateRoot<?> root) ReadOnlyEntity(Entity<T> delegate) -
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 TypeMethodDescription<T> Entity<T>default <T> Entity<T><T> Entity<T><T> Entity<T><T> Entity<T><T> Entity<T><T> Entity<T>Methods in io.fluxcapacitor.javaclient.persisting.repository with parameters of type EntityModifier and TypeMethodDescriptionvoidDefaultAggregateRepository.AnnotatedAggregateRepository.commit(Entity<?> after, List<DeserializingMessage> unpublishedEvents, Entity<?> before) AggregateRepository.repairRelationships(Entity<?> aggregate) CachingAggregateRepository.repairRelationships(Entity<?> aggregate) DefaultAggregateRepository.repairRelationships(Entity<?> aggregate)