Deletes a Saga with given sagaType and sagaIdentifier and all its associations. For convenience
all known association values are passed along as well, which has the advantage that the saga store is not
required to keep an index of association value to saga identifier.
Loads a known saga SagaStore.Entry instance with given sagaType and unique sagaIdentifier.
Due to the concurrent nature of Sagas, it is not unlikely for a Saga to have ceased to exist after it has been
found based on associations. Therefore, a repository should return null in case a Saga doesn't
exists, as opposed to throwing an exception.
Adds a new Saga and its initial association values to the store. The tracking token of the event last handled by
the Saga (usually the event that started the Saga) is also passed as a parameter. Note that the given token may be null if the Saga is not tracking the event store.
Updates a given Saga after its state was modified. The tracking token of the event last handled by the Saga is
also passed as a parameter. Note that the given token may be null if the Saga is not tracking the