distances = new ArrayList(getGroupBiz().getChildGroupsResultFiltered(y, year, type, true));
distances = new ArrayList(getGroupBiz().getChildGroupsRecursiveResultFiltered(y, type, true));
	public List getDistancesMap(Group run, String year) {		IWContext iwc = IWContext.getInstance();		Map disMap = new LinkedHashMap();		List distances = null;		Collection type = new ArrayList();		type.add(IWMarathonConstants.GROUP_TYPE_RUN_DISTANCE);		if (run != null) {			Collection years = getYears(run, year);			if (years != null) {				Iterator yearsIter = years.iterator();				while (yearsIter.hasNext()) {					Group y = (Group) yearsIter.next();					if (y.getName().equals(year)) {						try {							distances = new ArrayList(getGroupBiz().getChildGroupsResultFiltered(y, year, type, true));						}						catch (Exception e) {							distances = null;						}					}				}				if(distances != null) {					Collections.sort(distances, new RunDistanceComparator());				}			}		}				return distances;	}