code: public Collection<ID> getIds(final WebQuery constraints)
  	{
  		return (Collection<ID>) find(constraints, JPASearchStrategy.ID).getList();
  	}
docs: Get a list of IDs matching a WebQuery
  
  @param constraints
  
  @return