* Implement the AbstractQueryBuilder.getCriteriaBuilder() method to ease sub-classing.
* Extract AbstractQueryBuilder.applyRestrictions() to make it easy for sub-classes to
  further restrict the results. Useful for time parameters or tables that implement
  logical deletes.