A very simplified example of how I use createCriteria method for getting data in my Grails application:
def c = SomeClassOfMine.createCriteria() def projects = c.list(max: ...