We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.collaborationengine.
Class ListOperationResult<T>
- java.lang.Object
-
- com.vaadin.collaborationengine.ListOperationResult<T>
-
All Implemented Interfaces:
public class ListOperationResult<T> extends Object implements ListInsertResult<T>
The result of a list operation in a
CollaborationList
.It provides access to the key of the affected item and to the
CompletableFuture
of the operation.Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method Description CompletableFuture<T>
getCompletableFuture()
The result of the asynchronous operation.
ListKey
getKey()
Gets the key of the item.
-
-
-
Method Detail
-
getKey
public ListKey getKey()
Gets the key of the item.
Specified by:
getKey
in interfaceListInsertResult<T>
Returns:
the item key, not
null
-
getCompletableFuture
public CompletableFuture<T> getCompletableFuture()
The result of the asynchronous operation.
Specified by:
getCompletableFuture
in interfaceListInsertResult<T>
Returns:
the result of the operation, not
null
-
-