Remove deprecated MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / DataReader.java
diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/DataReader.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/DataReader.java
deleted file mode 100644 (file)
index 9ede638..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2013 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.md.sal.common.api.data;
-
-import org.opendaylight.yangtools.concepts.Path;
-
-/**
- * Reader for reading YANG subtrees based on their path.
- *
- * <p>
- * Reader is requested to return object at specified path and all it's subnodes
- * known to the reader or null if node is not found in this reader.
- *
- * @param <P> Path Type
- * @param <D> Data Type
- * @deprecated Replaced by org.opendaylight.controller.sal.core.spi.data.DOMStore contract.
- */
-@Deprecated(forRemoval = true)
-public interface DataReader<P extends Path<P>, D> {
-
-    /**
-     * Reads data from Operational data store located at provided path.
-     *
-     * @param path Path to data
-     * @return the data
-     */
-    D readOperationalData(P path);
-
-    D readConfigurationData(P path);
-}