code: public List<SearchCriterion> getSearchCriteria() {
  		List<SearchCriterion> criteria = new ArrayList<SearchCriterion>();
  		for (AttributeCriterionPane criterionPane : criterionPanes) {
  			if (criterionPane.hasErrors()) {
  				SC.warn(I18nProvider.getSearch().warningInvalidCriteria());
  				return null;
  			}
  			SearchCriterion criterion = criterionPane.getSearchCriterion();
  			if (criterion != null) {
  				criteria.add(criterion);
  			}
  		}
  		if (criteria.size() == 0) {
  			SC.warn(I18nProvider.getSearch().warningNoCriteria());
  		}
  		return criteria;
  	}
docs: Get the full list of search criteria from the criterion grid.
  
  @return list of criteria