Bug 8568: Remove deprecated HydrogenDataBrokerAdapter
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / DataChangeEvent.java
index 590541374504489f06785732fb93075b3d3aa883..5e5ea0c1388da6b4ca85718a53fcef43feb8fb31 100644 (file)
@@ -8,7 +8,46 @@
 package org.opendaylight.controller.md.sal.common.api.data;
 
 import org.opendaylight.yangtools.concepts.Immutable;
+import org.opendaylight.yangtools.concepts.Path;
 
-public interface DataChangeEvent<P,D> extends DataChange<P, D>, Immutable {
+/**
+ *
+ *
+ *
+ * @param <P>
+ * @param <D>
+ * @deprecated Replaced by {@link AsyncDataChangeEvent}
+ */
+@Deprecated
+public interface DataChangeEvent<P extends Path<P>,D> extends DataChange<P, D>, Immutable {
+
+    /**
+     * Returns a orignal subtree of data, which starts at the path
+     * where listener was registered.
+     *
+     */
+    D getOriginalConfigurationSubtree();
+
+    /**
+     * Returns a new subtree of data, which starts at the path
+     * where listener was registered.
+     *
+     */
+    D getOriginalOperationalSubtree();
+
+
+
+    /**
+     * Returns a updated subtree of data, which starts at the path
+     * where listener was registered.
+     *
+     */
+    D getUpdatedConfigurationSubtree();
 
+    /**
+     * Returns a udpated subtree of data, which starts at the path
+     * where listener was registered.
+     *
+     */
+    D getUpdatedOperationalSubtree();
 }