code: public QueryBuilder addParentIds(final Collection<Integer> ids) {
          if (ids != null) {
              parentIds.addAll(ids);
          }
          return this;
      }
docs: Add the provided parent IDs to the set of query constraints.
  @param ids the parent IDs to add
  @return this