I have created lots of little classes to improve the querying mechanism and enable the implementation of the Sorting filter.
I see two groups of restriction already: those with the method process(Criteria) and those with the method process(Criteria, Session). They could all be treated like regular restrictions, I think.
Also, I haven't managed to separate the nested OR queries. Check out the TODO in the FilterIntegrationTest.testNestedOr() for more details.
This must be done ASAP.
Description
I have created lots of little classes to improve the querying mechanism and enable the implementation of the Sorting filter.
I see two groups of restriction already: those with the method process(Criteria) and those with the method process(Criteria, Session). They could all be treated like regular restrictions, I think.
Also, I haven't managed to separate the nested OR queries. Check out the TODO in the FilterIntegrationTest.testNestedOr() for more details.
This must be done ASAP.