return GrouperHelper.searchGroups(s,query,from,searchInDisplayNameOrExtension,searchInNameOrExtension,browseMode);
List filtered = new ArrayList(); Object obj = null; for(int i=0;i<results.size();i++) { obj=results.get(i); if(isValidSearchResult(obj)) filtered.add(obj); } return filtered;
	public List search(GrouperSession s, String query,String from, Map attr) throws Exception {		String searchInDisplayNameOrExtension = (String) attr.get("searchInDisplayNameOrExtension");		String searchInNameOrExtension = (String) attr.get("searchInNameOrExtension");		if(browseMode.equals("Create")) {			return GrouperHelper.searchStems(s,query,from,searchInDisplayNameOrExtension,searchInNameOrExtension);		}		return GrouperHelper.searchGroups(s,query,from,searchInDisplayNameOrExtension,searchInNameOrExtension,browseMode);	}