com.vaadin.collaborationengine.

Class ListOperationResult<T>

java.lang.Object
com.vaadin.collaborationengine.ListOperationResult<T>
public class ListOperationResult<T> extends Object

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 Details

    • getKey

      public ListKey getKey()

      Gets the key of the item.

      Returns:

      the item key, not null

    • getCompletableFuture

      public CompletableFuture<T> getCompletableFuture()

      The result of the asynchronous operation.

      Returns:

      the result of the operation, not null