2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.mdsal.dom.api;
10 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
11 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
12 import org.opendaylight.yangtools.yang.data.api.schema.tree.BackendFailedException;
14 @Deprecated(forRemoval = true)
15 public interface DOMDataTreeWriteCursor extends DOMDataTreeCursor {
18 * Delete the specified child.
20 * @param child Child identifier
21 * @throws BackendFailedException when implementation-specific errors occurs while servicing the
24 void delete(PathArgument child);
27 * Merge the specified data with the currently-present data at specified path.
29 * @param child Child identifier
30 * @param data Data to be merged
31 * @throws BackendFailedException when implementation-specific errors occurs while servicing the
34 void merge(PathArgument child, NormalizedNode<?, ?> data);
37 * Replace the data at specified path with supplied data.
39 * @param child Child identifier
40 * @param data New node data
41 * @throws BackendFailedException when implementation-specific errors occurs while servicing the
44 void write(PathArgument child, NormalizedNode<?, ?> data);