1 package org.opendaylight.controller.sal.binding.impl
3 import org.opendaylight.controller.sal.binding.api.data.DataProviderService
4 import org.opendaylight.controller.sal.common.DataStoreIdentifier
5 import org.opendaylight.yangtools.yang.binding.DataRoot
6 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier
7 import org.opendaylight.yangtools.yang.binding.DataObject
8 import org.opendaylight.controller.sal.binding.api.data.DataChangeListener
10 abstract class DeprecatedDataAPISupport implements DataProviderService {
13 override commit(DataStoreIdentifier store) {
14 throw new UnsupportedOperationException("Deprecated")
18 override editCandidateData(DataStoreIdentifier store, DataRoot changeSet) {
19 throw new UnsupportedOperationException("Deprecated")
23 override <T extends DataRoot> getCandidateData(DataStoreIdentifier store, Class<T> rootType) {
24 throw new UnsupportedOperationException("Deprecated")
28 override <T extends DataRoot> T getCandidateData(DataStoreIdentifier store, T filter) {
29 throw new UnsupportedOperationException("Deprecated")
33 override getConfigurationData(InstanceIdentifier<?> data) {
34 throw new UnsupportedOperationException("Deprecated")
38 override <T extends DataRoot> getData(DataStoreIdentifier store, Class<T> rootType) {
39 throw new UnsupportedOperationException("Deprecated")
43 override <T extends DataRoot> T getData(DataStoreIdentifier store, T filter) {
44 throw new UnsupportedOperationException("Deprecated")
48 override getData(InstanceIdentifier<? extends DataObject> path) {
49 return readOperationalData(path);
52 override registerChangeListener(InstanceIdentifier<? extends DataObject> path, DataChangeListener changeListener) {
55 override unregisterChangeListener(InstanceIdentifier<? extends DataObject> path,
56 DataChangeListener changeListener) {