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.
- Since:
- 6.2
- Author:
- Michael J. Simons
-
Method Summary
-
Method Details
-
one
Saves exactly one 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
Saves several 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
-