docs: public static void applyMetaCriteriaToQuery(Query query, QueryWhere queryWhere) {
          if( queryWhere.getCount() != null ) {
             query.setMaxResults(queryWhere.getCount());
          }
          if( queryWhere.getOffset() != null ) {
             query.setFirstResult(queryWhere.getOffset());
          }
      }