X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fdom%2Fapi%2FDOMDataWriteTransaction.java;h=236e925302f445006fe06a442885b30f33ac3764;hp=b8fe26387bf59bcd8d7c06d797b53a8f01c72cb5;hb=e1ede0942d3bff1f1b150816e6bfa96ed9366c20;hpb=c46e223995956f1f759c551163c212947c1e2fb7 diff --git a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMDataWriteTransaction.java b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMDataWriteTransaction.java index b8fe26387b..236e925302 100644 --- a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMDataWriteTransaction.java +++ b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMDataWriteTransaction.java @@ -14,16 +14,22 @@ import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode; /** * A transaction that provides mutation capabilities on a data tree. + * *

* For more information on usage and examples, please see the documentation in {@link AsyncWriteTransaction}. */ public interface DOMDataWriteTransaction extends AsyncWriteTransaction> { + @Override + void delete(LogicalDatastoreType store, YangInstanceIdentifier path); + /** * Stores a piece of data at the specified path. This acts as an add / replace * operation, which is to say that whole subtree will be replaced by the specified data. + * *

* For more information on usage and examples, please see the documentation in {@link AsyncWriteTransaction}. + * *

* If you need to make sure that a parent object exists but you do not want modify * its pre-existing state by using put, consider using {@link #merge} instead. @@ -43,8 +49,10 @@ public interface DOMDataWriteTransaction extends AsyncWriteTransaction * For more information on usage and examples, please see the documentation in {@link AsyncWriteTransaction}. + * *

* If you require an explicit replace operation, use {@link #put} instead. *