Hi!

I have a couple of cases where I want the domain model to return Query, 
but it should be based on an internal ManyAssociation, which I don't 
want to expose to the client. For this purpose it would be great if I 
could do:
Query<SomeEntity> query = queryBuilderFactory.newQuery(entityAssociation);

and then do the usual Query things on it. This would make it easy to 
sort/page a ManyAssociation in the model without having to do a real 
query which goes to the EntityFinder.

We would simply have to do a QueryIterableImpl and return that from the 
above method.

What say ye?

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to