org.apache.cayenne.access
Interface QueryEngine

All Known Implementing Classes:
DataDomain, DataNode

public interface QueryEngine

Defines methods used to run Cayenne queries.


Method Summary
 EntityResolver getEntityResolver()
          Returns a resolver for this query engine that is capable of resolving between classes, entity names, and obj/db entities
 void performQueries(Collection<Query> queries, OperationObserver resultConsumer)
          Executes a list of queries wrapping them in its own transaction.
 

Method Detail

performQueries

void performQueries(Collection<Query> queries,
                    OperationObserver resultConsumer)
Executes a list of queries wrapping them in its own transaction. Results of execution are passed to OperationObserverobject via its callback methods.

Since:
1.1 The signature has changed from List to Collection.

getEntityResolver

EntityResolver getEntityResolver()
Returns a resolver for this query engine that is capable of resolving between classes, entity names, and obj/db entities



Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.