Uses of Class
org.axonframework.modelling.saga.AssociationValue
Packages that use AssociationValue
Package
Description
-
Uses of AssociationValue in org.axonframework.modelling.saga
Methods in org.axonframework.modelling.saga that return AssociationValueModifier and TypeMethodDescriptionSagaMethodMessageHandlingMember.getAssociationValue(EventMessage<?> eventMessage) The AssociationValue to find the saga instance with, ornullif no AssociationValue can be found on the giveneventMessage.SagaInitializationPolicy.getInitialAssociationValue()Returns the initial association value for a newly created saga.Methods in org.axonframework.modelling.saga that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionAssociationValues.addedAssociations()Returns the Set of association values that have been added since the lastAssociationValues.commit().AssociationValuesImpl.addedAssociations()AssociationValues.asSet()Returns this instance as a Set of Association Values.AssociationValuesImpl.asSet()static Set<AssociationValue> SagaLifecycle.associationValues()Retrieves theAssociationValuesthat have been associated with the current Saga so far.protected abstract Set<AssociationValue> AbstractSagaManager.extractAssociationValues(EventMessage<?> event) Extracts the AssociationValues from the giveneventas relevant for a Saga of givensagaType.protected Set<AssociationValue> AnnotatedSagaManager.extractAssociationValues(EventMessage<?> event) AssociationValuesImpl.iterator()AssociationValues.removedAssociations()Returns the Set of association values that have been removed since the lastAssociationValues.commit().AssociationValuesImpl.removedAssociations()Methods in org.axonframework.modelling.saga with parameters of type AssociationValueModifier and TypeMethodDescriptionbooleanAssociationValues.add(AssociationValue associationValue) Adds the givenassociationValue, if it has not been previously added.booleanAssociationValuesImpl.add(AssociationValue associationValue) static voidSagaLifecycle.associateWith(AssociationValue associationValue) Registers a AssociationValue with the currently active saga.booleanAssociationValues.contains(AssociationValue associationValue) Indicates whether this instance contains the givenassociationValue.booleanAssociationValuesImpl.contains(AssociationValue associationValue) protected voidAnnotatedSaga.doAssociateWith(AssociationValue property) Registers a AssociationValue with the given saga.protected abstract voidSagaLifecycle.doAssociateWith(AssociationValue associationValue) SagaLifecycleinstance method to register the givenassociationValue.protected voidAnnotatedSaga.doRemoveAssociation(AssociationValue property) Removes the given association from this Saga.protected abstract voidSagaLifecycle.doRemoveAssociation(AssociationValue associationValue) SagaLifecycleinstance method to remove the givenassociationValue.SagaRepository.find(AssociationValue associationValue) Find saga instances of the giventypethat have been associated with the givenassociationValue.booleanAssociationValues.remove(AssociationValue associationValue) Removes the givenassociationValue, if it is contained by this instance.booleanAssociationValuesImpl.remove(AssociationValue associationValue) Constructors in org.axonframework.modelling.saga with parameters of type AssociationValueModifierConstructorDescriptionSagaInitializationPolicy(SagaCreationPolicy creationPolicy, AssociationValue initialAssociationValue) Creates an instance using the givencreationPolicyandinitialAssociationValue.Constructor parameters in org.axonframework.modelling.saga with type arguments of type AssociationValueModifierConstructorDescriptionAnnotatedSaga(String sagaId, Set<AssociationValue> associationValues, T annotatedSaga, SagaModel<T> metaModel, MessageHandlerInterceptorMemberChain<T> chainedInterceptor) Creates an AnnotatedSaga instance to wrap the givenannotatedSaga, identifier with the givensagaIdand associated with the givenassociationValues.AssociationValuesImpl(Set<AssociationValue> initialValues) Initializes a new AssociationValues object with given initial associations. -
Uses of AssociationValue in org.axonframework.modelling.saga.metamodel
Methods in org.axonframework.modelling.saga.metamodel that return types with arguments of type AssociationValue -
Uses of AssociationValue in org.axonframework.modelling.saga.repository
Methods in org.axonframework.modelling.saga.repository that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionSagaStore.Entry.associationValues()Returns the Set of association values of the fetched Saga entry.Methods in org.axonframework.modelling.saga.repository with parameters of type AssociationValueModifier and TypeMethodDescriptionvoidAssociationValueMap.add(AssociationValue associationValue, String sagaType, String sagaIdentifier) Adds an association between the givenassociationValueandsagaIdentifier.AnnotatedSagaRepository.find(AssociationValue associationValue) AssociationValueMap.findSagas(String sagaType, AssociationValue associationValue) Returns the identifiers of the Sagas that have been associated with the givenassociationValue.CachingSagaStore.findSagas(Class<? extends T> sagaType, AssociationValue associationValue) SagaStore.findSagas(Class<? extends T> sagaType, AssociationValue associationValue) Returns identifiers of saga instances of the givensagaTypethat have been associated with the givenassociationValue.voidAssociationValueMap.remove(AssociationValue associationValue, String sagaType, String sagaIdentifier) Removes an association between the givenassociationValueandsagaIdentifier.Method parameters in org.axonframework.modelling.saga.repository with type arguments of type AssociationValueModifier and TypeMethodDescriptionprotected voidCachingSagaStore.addCachedAssociations(Iterable<AssociationValue> associationValues, String sagaIdentifier, Class<?> sagaType) Registers the associations of a saga with givensagaIdentifierand givensagaTypewith the associations cache.voidCachingSagaStore.deleteSaga(Class<? extends T> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) voidSagaStore.deleteSaga(Class<? extends T> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) Deletes a Saga with givensagaTypeandsagaIdentifierand all its associations.voidCachingSagaStore.insertSaga(Class<? extends T> sagaType, String sagaIdentifier, T saga, Set<AssociationValue> associationValues) voidSagaStore.insertSaga(Class<? extends T> sagaType, String sagaIdentifier, T saga, Set<AssociationValue> associationValues) Adds a new Saga and its initial association values to the store. -
Uses of AssociationValue in org.axonframework.modelling.saga.repository.inmemory
Methods in org.axonframework.modelling.saga.repository.inmemory with parameters of type AssociationValueModifier and TypeMethodDescriptionInMemorySagaStore.findSagas(Class<?> sagaType, AssociationValue associationValue) Method parameters in org.axonframework.modelling.saga.repository.inmemory with type arguments of type AssociationValueModifier and TypeMethodDescriptionvoidInMemorySagaStore.deleteSaga(Class<?> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) voidInMemorySagaStore.insertSaga(Class<?> sagaType, String sagaIdentifier, Object saga, Set<AssociationValue> associationValues) -
Uses of AssociationValue in org.axonframework.modelling.saga.repository.jdbc
Methods in org.axonframework.modelling.saga.repository.jdbc that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionGenericSagaSqlSchema.readAssociationValues(ResultSet resultSet) SagaSqlSchema.readAssociationValues(ResultSet resultSet) Reads a Set of AssociationValues from the givenresultSet, which has been returned by executing the Statement returned fromSagaSqlSchema.sql_findAssociations(Connection, String, String).Methods in org.axonframework.modelling.saga.repository.jdbc with parameters of type AssociationValueModifier and TypeMethodDescriptionJdbcSagaStore.findSagas(Class<?> sagaType, AssociationValue associationValue) Method parameters in org.axonframework.modelling.saga.repository.jdbc with type arguments of type AssociationValueModifier and TypeMethodDescriptionvoidJdbcSagaStore.deleteSaga(Class<?> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) voidJdbcSagaStore.insertSaga(Class<?> sagaType, String sagaIdentifier, Object saga, Set<AssociationValue> associationValues) -
Uses of AssociationValue in org.axonframework.modelling.saga.repository.jpa
Methods in org.axonframework.modelling.saga.repository.jpa that return AssociationValueModifier and TypeMethodDescriptionAssociationValueEntry.getAssociationValue()Returns the association value contained in this entry.Methods in org.axonframework.modelling.saga.repository.jpa that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionprotected Set<AssociationValue> JpaSagaStore.loadAssociationValues(jakarta.persistence.EntityManager entityManager, Class<?> sagaType, String sagaIdentifier) Methods in org.axonframework.modelling.saga.repository.jpa with parameters of type AssociationValueModifier and TypeMethodDescriptionJpaSagaStore.findSagas(Class<?> sagaType, AssociationValue associationValue) protected voidJpaSagaStore.removeAssociationValue(jakarta.persistence.EntityManager entityManager, Class<?> sagaType, String sagaIdentifier, AssociationValue associationValue) Removes the givenassociationValueof the saga with givensagaIdentifierandsagaType.protected voidJpaSagaStore.storeAssociationValue(jakarta.persistence.EntityManager entityManager, Class<?> sagaType, String sagaIdentifier, AssociationValue associationValue) Stores the givenassociationValueof the saga with givensagaIdentifierandsagaType.Method parameters in org.axonframework.modelling.saga.repository.jpa with type arguments of type AssociationValueModifier and TypeMethodDescriptionvoidJpaSagaStore.deleteSaga(Class<?> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) voidJpaSagaStore.insertSaga(Class<?> sagaType, String sagaIdentifier, Object saga, Set<AssociationValue> associationValues) Constructors in org.axonframework.modelling.saga.repository.jpa with parameters of type AssociationValueModifierConstructorDescriptionAssociationValueEntry(String sagaType, String sagaIdentifier, AssociationValue associationValue) Initialize a new AssociationValueEntry for a saga with givensagaIdentifierandassociationValue. -
Uses of AssociationValue in org.axonframework.modelling.saga.repository.legacyjpa
Methods in org.axonframework.modelling.saga.repository.legacyjpa that return types with arguments of type AssociationValueModifier and TypeMethodDescriptionprotected Set<AssociationValue> JpaSagaStore.loadAssociationValues(javax.persistence.EntityManager entityManager, Class<?> sagaType, String sagaIdentifier) Deprecated.Methods in org.axonframework.modelling.saga.repository.legacyjpa with parameters of type AssociationValueModifier and TypeMethodDescriptionJpaSagaStore.findSagas(Class<?> sagaType, AssociationValue associationValue) Deprecated.protected voidJpaSagaStore.removeAssociationValue(javax.persistence.EntityManager entityManager, Class<?> sagaType, String sagaIdentifier, AssociationValue associationValue) Deprecated.Removes the givenassociationValueof the saga with givensagaIdentifierandsagaType.protected voidJpaSagaStore.storeAssociationValue(javax.persistence.EntityManager entityManager, Class<?> sagaType, String sagaIdentifier, AssociationValue associationValue) Deprecated.Stores the givenassociationValueof the saga with givensagaIdentifierandsagaType.Method parameters in org.axonframework.modelling.saga.repository.legacyjpa with type arguments of type AssociationValueModifier and TypeMethodDescriptionvoidJpaSagaStore.deleteSaga(Class<?> sagaType, String sagaIdentifier, Set<AssociationValue> associationValues) Deprecated.voidJpaSagaStore.insertSaga(Class<?> sagaType, String sagaIdentifier, Object saga, Set<AssociationValue> associationValues) Deprecated.