Merge "RPC registrations should not throw"
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / sal / core / api / data / DataStore.java
index 1062f5e5352d82f8fa003431c92561a6633dc62f..56d2e87c2c1007954c7560f01132298bf37f2387 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.sal.core.api.data;
 
 import org.opendaylight.controller.md.sal.common.api.data.DataCommitHandler;
@@ -5,8 +12,21 @@ import org.opendaylight.controller.md.sal.common.api.data.DataReader;
 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
 
+/**
+ *
+ * @deprecated Replaced by org.opendaylight.controller.sal.core.spi.data.DOMStore.
+ *
+ */
+@Deprecated
 public interface DataStore extends //
     DataReader<InstanceIdentifier, CompositeNode>,
     DataCommitHandler<InstanceIdentifier, CompositeNode> {
 
+
+    Iterable<InstanceIdentifier> getStoredConfigurationPaths();
+    Iterable<InstanceIdentifier> getStoredOperationalPaths();
+
+    boolean containsConfigurationPath(InstanceIdentifier path);
+    boolean containsOperationalPath(InstanceIdentifier path);
+
 }