2 * Copyright © 2020 FRINX s.r.o. 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.netconf.dom.api.tx;
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.opendaylight.mdsal.dom.api.DOMDataBroker.Extension;
14 * DOM data broker extension with an option to read only selected fields under parent data node.
16 public interface NetconfDOMDataBrokerFieldsExtension extends Extension {
18 * Create a new read-only transaction with an option to read only selected fields from target data node.
20 * @return A new read-only transaction.
22 @NonNull NetconfDOMFieldsReadTransaction newReadOnlyTransaction();
25 * Create a new read-write transaction with an option to read only selected fields from target data node.
27 * @return A new read-write transaction.
29 @NonNull NetconfDOMFieldsReadWriteTransaction newReadWriteTransaction();
32 * Create a new transaction chain with an option to read only selected fields from target data node.
34 * @return A new transaction chain.
36 @NonNull NetconfDOMFieldsTransactionChain createTransactionChain();