Added YANG models for flow configuration, statistics and inventory.
[controller.git] / opendaylight / sal / yang-prototype / sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / data / DataProviderService.java
1 /*
2  * Copyright (c) 2013 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.binding.api.data;
9
10 import org.opendaylight.controller.sal.common.DataStoreIdentifier;
11
12 public interface DataProviderService extends DataBrokerService {
13
14     /**
15      * Adds {@link DataValidator} for specified Data Store
16      * 
17      * @param store
18      *            Data Store
19      * @param validator
20      *            Validator
21      */
22     public void addValidator(DataStoreIdentifier store, DataValidator validator);
23
24     /**
25      * Removes {@link DataValidator} from specified Data Store
26      * 
27      * @param store
28      * @param validator
29      *            Validator
30      */
31     public void removeValidator(DataStoreIdentifier store, DataValidator validator);
32
33     /**
34      * Adds {@link DataCommitHandler} for specified data store
35      * 
36      * @param store
37      * @param provider
38      */
39     void addCommitHandler(DataStoreIdentifier store, DataCommitHandler provider);
40
41     /**
42      * Removes {@link DataCommitHandler} from specified data store
43      * 
44      * @param store
45      * @param provider
46      */
47     void removeCommitHandler(DataStoreIdentifier store, DataCommitHandler provider);
48
49     /**
50      * Adds {@link DataRefresher} for specified data store
51      * 
52      * @param store
53      * @param refresher
54      */
55     void addRefresher(DataStoreIdentifier store, DataRefresher refresher);
56
57     /**
58      * Removes {@link DataRefresher} from specified data store
59      * 
60      * @param store
61      * @param refresher
62      */
63     void removeRefresher(DataStoreIdentifier store, DataRefresher refresher);
64
65 }