package org.opendaylight.controller.sal.binding.impl import org.opendaylight.controller.sal.binding.api.data.DataProviderService import org.opendaylight.controller.sal.common.DataStoreIdentifier import org.opendaylight.yangtools.yang.binding.DataRoot import org.opendaylight.yangtools.yang.binding.InstanceIdentifier import org.opendaylight.yangtools.yang.binding.DataObject import org.opendaylight.controller.sal.binding.api.data.DataChangeListener abstract class DeprecatedDataAPISupport implements DataProviderService { @Deprecated override commit(DataStoreIdentifier store) { throw new UnsupportedOperationException("Deprecated") } @Deprecated override editCandidateData(DataStoreIdentifier store, DataRoot changeSet) { throw new UnsupportedOperationException("Deprecated") } @Deprecated override getCandidateData(DataStoreIdentifier store, Class rootType) { throw new UnsupportedOperationException("Deprecated") } @Deprecated override T getCandidateData(DataStoreIdentifier store, T filter) { throw new UnsupportedOperationException("Deprecated") } @Deprecated override getConfigurationData(InstanceIdentifier data) { throw new UnsupportedOperationException("Deprecated") } @Deprecated override getData(DataStoreIdentifier store, Class rootType) { throw new UnsupportedOperationException("Deprecated") } @Deprecated override T getData(DataStoreIdentifier store, T filter) { throw new UnsupportedOperationException("Deprecated") } @Deprecated override getData(InstanceIdentifier path) { return readOperationalData(path); } override registerChangeListener(InstanceIdentifier path, DataChangeListener changeListener) { } override unregisterChangeListener(InstanceIdentifier path, DataChangeListener changeListener) { } }