Interface FluentSaveOperation.ExecutableSave<DT>
- Type Parameters:
DT- the domain type
- Enclosing interface:
FluentSaveOperation
public static interface FluentSaveOperation.ExecutableSave<DT>
After the domain type has been specified, related projections or instances of the
domain type can be saved.
- Since:
- 6.1.3
- Author:
- Michael J. Simons, Gerrit Meier
-
Method Summary
-
Method Details
-
one
<T> T one(T instance) 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
-