Citytechinc/cq-groovy-console — pull request #6 by steeleforge (2013-08-28 18:08:31+00:00)
Title: QueryBuilder API

Hello. Hoping Mr. Daugherty is well. Anywho, I was trying this groovy console out yesterday and thought it might benefit from a shortcut use QueryBuilder API http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/search/QueryBuilder.html. There is probably some syntactic sugar that can be added to the paginated result wrapper SearchResult or Hit (e.g. SearchResult#getHits -> List).

FYI: the edge version of the groovy-console doesn't jive CQ5.5, ran into a version issue with org.apache.felix.scr at vsn 1.6 but cq-groovy-extension has a dep somewhere requiring 1.7.2.