Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix checkstyle violations in sal-dom-spi
[controller.git]
/
opendaylight
/
md-sal
/
sal-dom-spi
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
core
/
spi
/
data
/
DOMStoreWriteTransaction.java
diff --git
a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreWriteTransaction.java
b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreWriteTransaction.java
index ddabbc6c030f3f8ef098d207b2b250f737288ddc..3aaf006f3723cab7336d7aa66ba565f9eb947975 100644
(file)
--- a/
opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreWriteTransaction.java
+++ b/
opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreWriteTransaction.java
@@
-7,9
+7,7
@@
*/
package org.opendaylight.controller.sal.core.spi.data;
*/
package org.opendaylight.controller.sal.core.spi.data;
-import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.yangtools.concepts.Path;
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
public interface DOMStoreWriteTransaction extends DOMStoreTransaction {
import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
public interface DOMStoreWriteTransaction extends DOMStoreTransaction {
@@
-19,53
+17,42
@@
public interface DOMStoreWriteTransaction extends DOMStoreTransaction {
* operation, which is to say that whole subtree will be replaced by
* specified path.
*
* 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
* If you need add or merge of current object with specified use
- * {@link #merge(LogicalDatastoreType, 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()}
*/
* @throws IllegalStateException
* if the client code already sealed transaction and invoked
* {@link #ready()}
*/
- void write(InstanceIdentifier path, NormalizedNode<?, ?> data);
+ void write(
Yang
InstanceIdentifier path, NormalizedNode<?, ?> data);
/**
* Store a provided data at specified path. This acts as a add / replace
* operation, which is to say that whole subtree will be replaced by
* specified path.
*
/**
* Store a provided data at specified path. This acts as a add / replace
* 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(LogicalDatastoreType, 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()}
*/
* @throws IllegalStateException
* if the client code already sealed transaction and invoked
* {@link #ready()}
*/
- void merge(InstanceIdentifier path, NormalizedNode<?, ?> data);
+ void merge(
Yang
InstanceIdentifier path, NormalizedNode<?, ?> data);
/**
/**
- *
* Deletes data and whole subtree located at provided path.
*
* 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()}
*/
* @throws IllegalStateException
* if the client code already sealed transaction and invoked
* {@link #ready()}
*/
- void delete(InstanceIdentifier path);
+ void delete(
Yang
InstanceIdentifier path);
/**
/**
- *
* Seals transaction, and returns three-phase commit cohort associated
* with this transaction and DOM Store to be coordinated by coordinator.
*
* Seals transaction, and returns three-phase commit cohort associated
* with this transaction and DOM Store to be coordinated by coordinator.
*