statBean.setType(dso.getType());
switch (dso.getType())
{
case Constants.ITEM:
StatComponentsService serviceItem = researcher.getItemStatsComponents();
retrieveResults(dateType, dateStart, dateEnd, gap,
selectedObject, topObject, dso, serviceItem);
statBean.setStatURL(ConfigurationManager
.getProperty("dspace.url")
+ "/cris/stats/item.html?handle=" + uuid);
break;
case Constants.COLLECTION:
StatComponentsService serviceColl = researcher.getCollectionStatsComponents();
retrieveResults(dateType, dateStart, dateEnd, gap,
selectedObject, topObject, dso, serviceColl);
statBean.setStatURL(ConfigurationManager
.getProperty("dspace.url")
+ "/cris/stats/collection.html?handle=" + uuid);
break;
case Constants.COMMUNITY:
StatComponentsService serviceComm = researcher.getCommunityStatsComponents();
retrieveResults(dateType, dateStart, dateEnd, gap,
selectedObject, topObject, dso, serviceComm);
statBean.setStatURL(ConfigurationManager
.getProperty("dspace.url")