X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fapi%2Fdata%2FDataModificationTransaction.java;h=7e72bd488fdc9789037b351e29c6204211fe93ec;hb=6cbbe603648c798a10c8326b59391b89986b3862;hp=0c250fdbee4c2454d0d9c1afa981ef71b4c05acc;hpb=b3d0ded2590e6a5a61055010f7b24e9a943c8d31;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/data/DataModificationTransaction.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/data/DataModificationTransaction.java index 0c250fdbee..7e72bd488f 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/data/DataModificationTransaction.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/data/DataModificationTransaction.java @@ -9,7 +9,6 @@ package org.opendaylight.controller.sal.binding.api.data; import java.util.EventListener; import java.util.concurrent.Future; - import org.opendaylight.controller.md.sal.common.api.TransactionStatus; import org.opendaylight.controller.md.sal.common.api.data.DataModification; import org.opendaylight.yangtools.concepts.ListenerRegistration; @@ -18,18 +17,15 @@ import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; import org.opendaylight.yangtools.yang.common.RpcResult; /** - * - * * @deprecated Replaced by more specific transaction types. Please use - * {@link org.opendaylight.controller.md.sal.binding.api.DataBroker#newReadOnlyTransaction(), - * {@link org.opendaylight.controller.md.sal.binding.api.DataBroker#newReadWriteTransaction() + * {@link org.opendaylight.controller.md.sal.binding.api.DataBroker#newReadOnlyTransaction()}, + * {@link org.opendaylight.controller.md.sal.binding.api.DataBroker#newReadWriteTransaction()} * or - * {@link org.opendaylight.controller.md.sal.binding.api.DataBroker#newWriteOnlyTransaction(). - * - * + * {@link org.opendaylight.controller.md.sal.binding.api.DataBroker#newWriteOnlyTransaction()}. */ @Deprecated -public interface DataModificationTransaction extends DataModification, DataObject> { +public interface DataModificationTransaction extends + DataModification, DataObject> { /** * Returns an unique identifier for transaction * @@ -41,7 +37,7 @@ public interface DataModificationTransaction extends DataModification - * The {@link Consumer} could initiate a commit of candidate data + * The Consumer could initiate a commit of candidate data * *

* The successful commit changes the state of the system and may affect @@ -49,15 +45,11 @@ public interface DataModificationTransaction extends DataModification * The effects of successful commit of data are described in the - * specifications and YANG models describing the {@link Provider} components - * of controller. It is assumed that {@link Consumer} has an understanding + * specifications and YANG models describing the Provider components + * of controller. It is assumed that the Consumer has an understanding * of this changes. * * - * @see org.opendaylight.controller.md.sal.common.api.data.DataCommitHandler for further information how two-phase commit is - * processed. - * @param store - * Identifier of the store, where commit should occur. * @return Result of the commit, containing success information or list of * encountered errors, if commit was not successful. */ @@ -75,7 +67,7 @@ public interface DataModificationTransaction extends DataModification