Package com.vaadin.collaborationengine
Interface ListInsertResult<T>
-
- All Known Implementing Classes:
ListOperationResult
@Deprecated(since="5.1", forRemoval=true) public interface ListInsertResult<T>
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withListOperationResult
.The result of a list operation in aCollaborationList
.It provides access to the key of the affected item and to the
CompletableFuture
of the operation.- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CompletableFuture<T>
getCompletableFuture()
Deprecated, for removal: This API element is subject to removal in a future version.The result of the asynchronous operation.ListKey
getKey()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the key of the item.
-
-
-
Method Detail
-
getKey
ListKey getKey()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the key of the item.- Returns:
- the item key, not
null
-
getCompletableFuture
CompletableFuture<T> getCompletableFuture()
Deprecated, for removal: This API element is subject to removal in a future version.The result of the asynchronous operation.- Returns:
- the result of the operation, not
null
-
-