statBean.setType(object.getType());
selectedObject = new HashMap<String, Map<String,ObjectCount[]>>();
CrisStatComponentsService statsComponentsService = null;
switch (type)
{
case 9:
statsComponentsService = researcher.getRPStatsComponents();
break;
case 10:
statsComponentsService = researcher.getPJStatsComponents();
break;
case 11:
statsComponentsService = researcher.getOUStatsComponents();
break;
default:
break;
}
selectedObject.put(AStatComponentService._SELECTED_OBJECT, statsComponentsService.getSelectedObjectComponent().getStatsViewComponent().queryFacetDate(statsLogger, object, dateType, dateStart, dateEnd, gap));
selectedObject.get(AStatComponentService._SELECTED_OBJECT).putAll(statsComponentsService.getSelectedObjectComponent().getStatsDownloadComponent().queryFacetDate(statsLogger, object, dateType, dateStart, dateEnd, gap));
for(String key : statsComponentsService.getComponents().keySet()) {
IStatsComponent dual = statsComponentsService.getComponents().get(key).getStatsViewComponent();
topObject.put(key, dual.queryFacetDate(statsLogger, object, dateType, dateStart, dateEnd, gap));
dual = statsComponentsService.getComponents().get(key).getStatsDownloadComponent();
topObject.get(key).putAll(dual.queryFacetDate(statsLogger, object, dateType, dateStart, dateEnd, gap));
}
}
else
{