Interface ReactiveFluentSaveOperation.ExecutableSave<DT>

Type Parameters:
DT - the domain type
Enclosing interface:
ReactiveFluentSaveOperation

public static interface ReactiveFluentSaveOperation.ExecutableSave<DT>
After the domain type has been specified, related projections or instances of the domain type can be saved.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> reactor.core.publisher.Flux<T>
    all(Iterable<T> instances)
     
    <T> reactor.core.publisher.Mono<T>
    one(T instance)
     
  • Method Details

    • one

      <T> reactor.core.publisher.Mono<T> one(T instance)
      Type Parameters:
      T - The type of the instance passed to this method. It should be the same as the domain type before or a projection of the domain type. If they are not related, the results may be undefined.
      Parameters:
      instance - The instance to be saved
      Returns:
      The saved instance, can also be a new object, so you are recommended to use this instance after the save operation
    • all

      <T> reactor.core.publisher.Flux<T> all(Iterable<T> instances)
      Type Parameters:
      T - The type of the instances passed to this method. It should be the same as the domain type before or a projection of the domain type. If they are not related, the results may be undefined.
      Parameters:
      instances - The instances to be saved
      Returns:
      The saved instances, can also be a new objects, so you are recommended to use those instances after the save operation