Migrate OSGI compendium reference
[controller.git] / opendaylight / md-sal / sal-dom-spi / src / main / java / org / opendaylight / controller / sal / core / spi / data / DOMStoreWriteTransaction.java
index 0a090520f24dfd8ca94eac21a978c36bdac6eacc..5d6d99249f0b560cf24a6360ec092d83b31fa40a 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.controller.sal.core.spi.data;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
 
+@Deprecated(forRemoval = true)
 public interface DOMStoreWriteTransaction extends DOMStoreTransaction {
 
     /**
@@ -17,14 +18,12 @@ public interface DOMStoreWriteTransaction extends DOMStoreTransaction {
      * operation, which is to say that whole subtree will be replaced by
      * specified path.
      *
+     * <p>
      * If you need add or merge of current object with specified use
-     * {@link #merge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType, org.opendaylight.yangtools.concepts.Path, Object)}
-     *
-     *
-     * @param path
-     * @param data
-     *            Data object to be written
+     * {@link #merge(YangInstanceIdentifier, NormalizedNode)}.
      *
+     * @param path the path to write
+     * @param data data object to be written
      * @throws IllegalStateException
      *             if the client code already sealed transaction and invoked
      *             {@link #ready()}
@@ -36,14 +35,8 @@ public interface DOMStoreWriteTransaction extends DOMStoreTransaction {
      * operation, which is to say that whole subtree will be replaced by
      * specified path.
      *
-     * If you need add or merge of current object with specified use
-     * {@link #merge(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType, org.opendaylight.yangtools.concepts.Path, Object)}
-     *
-     *
-     * @param path
-     * @param data
-     *            Data object to be written
-     *
+     * @param path the path to write
+     * @param data data object to be written
      * @throws IllegalStateException
      *             if the client code already sealed transaction and invoked
      *             {@link #ready()}
@@ -51,11 +44,9 @@ public interface DOMStoreWriteTransaction extends DOMStoreTransaction {
     void merge(YangInstanceIdentifier path, NormalizedNode<?, ?> data);
 
     /**
-     *
      * Deletes data and whole subtree located at provided path.
      *
-     * @param path
-     *            Path to delete
+     * @param path path to delete
      * @throws IllegalStateException
      *             if the client code already sealed transaction and invoked
      *             {@link #ready()}
@@ -63,7 +54,6 @@ public interface DOMStoreWriteTransaction extends DOMStoreTransaction {
     void delete(YangInstanceIdentifier path);
 
     /**
-     *
      * Seals transaction, and returns three-phase commit cohort associated
      * with this transaction and DOM Store to be coordinated by coordinator.
      *