Merge "Add container context debug osgi cli command to Switch Manager"
[controller.git] / opendaylight / sal / yang-prototype / sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / DataProviderService.java
1 /*\r
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 package org.opendaylight.controller.sal.binding.api;\r
9 \r
10 import org.opendaylight.controller.sal.common.DataStoreIdentifier;\r
11 \r
12 public interface DataProviderService extends DataBrokerService {\r
13 \r
14     /**\r
15      * Adds {@link DataValidator} for specified Data Store\r
16      * \r
17      * @param store\r
18      *            Data Store\r
19      * @param validator\r
20      *            Validator\r
21      */\r
22     public void addValidator(DataStoreIdentifier store, DataValidator validator);\r
23 \r
24     /**\r
25      * Removes {@link DataValidator} from specified Data Store\r
26      * \r
27      * @param store\r
28      * @param validator\r
29      *            Validator\r
30      */\r
31     public void removeValidator(DataStoreIdentifier store,\r
32             DataValidator validator);\r
33 \r
34     /**\r
35      * Adds {@link DataCommitHandler} for specified data store\r
36      * \r
37      * @param store\r
38      * @param provider\r
39      */\r
40     void addCommitHandler(DataStoreIdentifier store, DataCommitHandler provider);\r
41 \r
42     /**\r
43      * Removes {@link DataCommitHandler} from specified data store\r
44      * \r
45      * @param store\r
46      * @param provider\r
47      */\r
48     void removeCommitHandler(DataStoreIdentifier store,\r
49             DataCommitHandler provider);\r
50 \r
51     /**\r
52      * Adds {@link DataRefresher} for specified data store\r
53      * \r
54      * @param store\r
55      * @param refresher\r
56      */\r
57     void addRefresher(DataStoreIdentifier store, DataRefresher refresher);\r
58 \r
59     /**\r
60      * Removes {@link DataRefresher} from specified data store\r
61      * \r
62      * @param store\r
63      * @param refresher\r
64      */\r
65    void removeRefresher(DataStoreIdentifier store, DataRefresher refresher);\r
66 \r
67 }\r