BUG-1092: adjust to YangInstanceIdentifier
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / sal / core / api / data / DataStore.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.sal.core.api.data;
9
10 import org.opendaylight.controller.md.sal.common.api.data.DataCommitHandler;
11 import org.opendaylight.controller.md.sal.common.api.data.DataReader;
12 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
13 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
14
15 /**
16  *
17  * @deprecated Replaced by org.opendaylight.controller.sal.core.spi.data.DOMStore.
18  *
19  */
20 @Deprecated
21 public interface DataStore extends //
22     DataReader<YangInstanceIdentifier, CompositeNode>,
23     DataCommitHandler<YangInstanceIdentifier, CompositeNode> {
24
25
26     Iterable<YangInstanceIdentifier> getStoredConfigurationPaths();
27     Iterable<YangInstanceIdentifier> getStoredOperationalPaths();
28
29     boolean containsConfigurationPath(YangInstanceIdentifier path);
30     boolean containsOperationalPath(YangInstanceIdentifier path);
31
32 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.