UsageConstants.WEBAPP_BANDWIDTH, summarizer.webappInBandwidth,
summarizer.webappOutBandwidth);
//TODO Re-factor: This should be done by AbstractSummaryGenerator
// do not delete anything if the retention period specified is 0.
TimeRange retention = BAMPersistenceManager.getPersistenceManager(
BAMUtil.getRegistry()).getDataRetentionPeriod();
if ((retention != null) && (retention.getValue() != 0)) {
BAMCalendar delLoHour = BAMCalendar.getInstance(start);
BAMCalendar delHiHour = BAMCalendar.getInstance(end);
delHiHour.add(retention.getType(), -1 * retention.getValue());
delLoHour.add(retention.getType(), -1 * retention.getValue());
deleteServerUserData(delLoHour, delHiHour);
}
//End TODO
} catch (Exception e) {