-public interface DataBrokerService extends BrokerService {
-
-
- Set<DataStoreIdentifier> getDataStores();
-
- /**
- * Returns a data from specified Data Store.
- *
- * Returns all the data visible to the consumer from specified Data Store.
- *
- * @param store
- * Identifier of the store, from which will be data retrieved
- * @return data visible to the consumer
- */
- CompositeNode getData(DataStoreIdentifier store);
-
- /**
- * Returns a filtered subset of data from specified Data Store.
- *
- * <p>
- * The filter is modeled as an hierarchy of {@link Node} starting with
- * {@link CompositeNode} representing data root. The semantics of the filter
- * tree is the same as filter semantics defined in the NETCONF protocol for
- * rpc operations <code>get</code> and <code>get-config</code> in Section 6
- * of RFC6241.
- *
- *
- * @see http://tools.ietf.org/html/rfc6241#section-6
- * @param store
- * Identifier of the store, from which will be data retrieved
- * @param filter
- * Data tree filter similar to the NETCONF filter
- * @return
- */
- CompositeNode getData(DataStoreIdentifier store, CompositeNode filter);
+public interface DataBrokerService extends
+ BrokerService, //
+ DataReader<InstanceIdentifier, CompositeNode>, //
+ DataModificationTransactionFactory<InstanceIdentifier, CompositeNode>, //
+ DataChangePublisher<InstanceIdentifier, CompositeNode, DataChangeListener> {