Class BulkInsertOperation<T extends Signal<?>>
java.lang.Object
com.vaadin.flow.signals.operations.SignalOperation<Void>
com.vaadin.flow.signals.operations.BulkInsertOperation<T>
- Type Parameters:
T- the type of the newly inserted signals
- All Implemented Interfaces:
Serializable
An operation that inserts multiple child signals into a list as a single
atomic batch. Unlike using individual
InsertOperation instances, this
operation tracks the entire batch with a single SignalOperation.result() future.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.signals.operations.SignalOperation
SignalOperation.Error<T extends @Nullable Object>, SignalOperation.Result<T extends @Nullable Object>, SignalOperation.ResultOrError<T extends @Nullable Object> -
Constructor Summary
ConstructorsConstructorDescriptionBulkInsertOperation(List<T> signals) Creates a new bulk insert operation with the given list of inserted signal instances. -
Method Summary
Methods inherited from class com.vaadin.flow.signals.operations.SignalOperation
forwardMappedResult, map, result
-
Constructor Details
-
BulkInsertOperation
Creates a new bulk insert operation with the given list of inserted signal instances.- Parameters:
signals- an unmodifiable list of the newly inserted signal instances, notnull
-
-
Method Details
-
signals
Gets the list of newly inserted signal instances. The instances can be used immediately even in cases where the result of the operation is not immediately confirmed.- Returns:
- an unmodifiable list of the newly inserted signal instances, not
null
-