All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.collaborationengine.ListInsertResult Maven / Gradle / Ivy

/*
 * Copyright 2020-2022 Vaadin Ltd.
 *
 * This program is available under Commercial Vaadin Runtime License 1.0
 * (CVRLv1).
 *
 * For the full License, see http://vaadin.com/license/cvrl-1
 */

package com.vaadin.collaborationengine;

import java.util.concurrent.CompletableFuture;

/**
 * The result of a list operation in a {@link CollaborationList}.
 * 

* It provides access to the key of the affected item and to the * {@link CompletableFuture} of the operation. * * @deprecated Replaced with {@link ListOperationResult}. * * @author Vaadin Ltd */ @Deprecated(since = "5.1", forRemoval = true) public interface ListInsertResult { /** * Gets the key of the item. * * @return the item key, not null */ ListKey getKey(); /** * The result of the asynchronous operation. * * @return the result of the operation, not null */ CompletableFuture getCompletableFuture(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy